1a2fdad9ba Fix: CardWidget double-click causes immediate select→deselect cycle
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>
2026-03-08 13:38:52 -04:00
2026-02-28 16:31:01 -05:00
2026-03-07 10:28:32 -05:00
2026-02-28 16:31:01 -05:00
S
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%