Changing layer order works again

Started using a setter method for Global.current_layer
This commit is contained in:
OverloadedOrama 2020-03-01 00:57:47 +02:00
parent 18356d4408
commit 4e31c1ed4b
4 changed files with 50 additions and 63 deletions

View file

@ -47,7 +47,6 @@ func changed_selection() -> void:
var parent := get_parent()
for child in parent.get_children():
if child is Button:
#print(child.name)
child.label.visible = true
child.line_edit.visible = false
child.line_edit.editable = false