changing text label colour

This commit is contained in:
JHDev2006
2025-10-04 10:54:08 +01:00
parent 982b5f691e
commit 49e6b39084
6 changed files with 92 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ func open_menu() -> void:
editing_start.emit()
$CanvasLayer.show()
func on_pressed() -> void:
set_value(Global.sanitize_string($CanvasLayer/Panel/VBoxContainer/TextEdit.text))
editing_finished.emit()

View File

@@ -69,7 +69,8 @@ func add_properties() -> void:
property.property_step = float(values[2])
elif i.type == TYPE_BOOL:
property = preload("uid://diqn7e5hqpbsk").instantiate()
elif i.type == TYPE_COLOR:
property = preload("uid://o3ya33lcbn7y").instantiate()
if property != null:
property.exit_changed.connect(set_can_exit)