This commit is contained in:
kaia
2024-03-26 17:32:05 -05:00
parent 1548298084
commit 92f7eb6da4
11 changed files with 427 additions and 321 deletions

View File

@@ -201,7 +201,8 @@ func _process(delta):
func deleteKey(label,id):
Global.main.costumeKeys[id-1] = "null"
label.text = "costume " + str(id) + " key: \"" + Global.main.costumeKeys[id-1] + "\""
Global.pushUpdate("Deleted costume hotkey " + str(id) + ".")
func _on_delete_1_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton1/Label
deleteKey(label,1)