Чистка.
This commit is contained in:
@@ -8,8 +8,7 @@ func _ready() -> void:
|
||||
|
||||
|
||||
func on_setting_changed():
|
||||
var cb = $CheckButton
|
||||
checkbutton_material = cb.material
|
||||
checkbutton_material = $CheckButton.material
|
||||
apply_colors()
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ extends ColorPickerButton
|
||||
|
||||
func _enter_tree() -> void:
|
||||
ProjectSettings.connect('settings_changed', apply_colors)
|
||||
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
ProjectSettings.disconnect('settings_changed', apply_colors)
|
||||
|
||||
Reference in New Issue
Block a user