From 783b771020725bbd4571f5aad644d3d733f9f56c Mon Sep 17 00:00:00 2001 From: gamer147 Date: Mon, 6 Jul 2026 15:09:23 -0400 Subject: [PATCH] fix(a2a): advance on mouse click (use _Input; root Control ate clicks in _UnhandledInput) Co-Authored-By: Claude Opus 4.8 (1M context) --- godot/Main.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/godot/Main.cs b/godot/Main.cs index 730515b..dd1db35 100644 --- a/godot/Main.cs +++ b/godot/Main.cs @@ -64,7 +64,9 @@ public partial class Main : Godot.Control } } - public override void _UnhandledInput(InputEvent e) + // _Input (not _UnhandledInput): the root Control consumes mouse clicks as GUI input before they + // reach _UnhandledInput, so clicks were swallowed while keyboard ui_accept still got through. + public override void _Input(InputEvent e) { if (_selftest) return; if (e.IsActionPressed("ui_accept") ||