This commit is contained in:
litruv committed 2025-07-20 02:38:29 +10:00
commit 524920d140
1 file changed
+3 -2
+3 -2
View File
@@ -639,8 +639,9 @@ func _on_background_input_capture_bg_key_pressed(node, keys_pressed):
if settingsMenu.awaitingCostumeInput >= 0:
if keyStrings[0] == "Keycode1":
if !settingsMenu.hasMouse:
# Cancel key assignment if user clicks outside the settings menu
if keyStrings[0] == "Keycode1" and !settingsMenu.hasMouse:
# Don't assign the key, just complete the flow
emit_signal("pressedKey")
return