mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 02:26:02 +10:00
Merge pull request #2 from litruv/copilot/fix-1
Fix costume key assignment regression - resolves "awaiting input" hang
This commit is contained in:
@@ -674,8 +674,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user