1a2fdad9ba52ebbc64ad7e689a407c25ae4f38bd
Godot 4 fires two separate pressed=true InputEventMouseButton events for a fast click: a normal press and a double_click press, both in the same frame. The previous _gui_input emitted card_pressed for both, so the first emission selected the card and the second (double_click) immediately deselected it. Fix: - Skip card_pressed emission when event.double_click is true - Consume RELEASE as well as PRESS so neither can leak to the 3D board's _unhandled_input handler (belt-and-suspenders over the _press_was_on_board guard that already exists in game_screen.gd) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%