feat(input): guard Guest Book taps and add double-tap placement

Guest Book: only open a card on a short stationary tap, ignore drags and flings, and guard the detail Close button after opening. Board: add a persisted double-tap placement mode with deferred single taps, while hold stays the default and right-click works in both modes.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 20:10:44 -06:00
1 parent bed81a2e05
commit af4951baf8
8 files changed
+344 -11

No files matched your search

+7
View File
@@ -142,6 +142,13 @@ static func safe_bottom() -> int:
return 24 if OS.has_feature("mobile") else 14
## Short control hint that follows the saved placement mode.
static func place_hint() -> String:
if bool(SaveGame.get_setting("double_tap_place")):
return "Tap = X · Double-tap or right-click = check in"
return "Tap = X · Hold or right-click = check in"
static func _button_style(color: Color) -> StyleBoxFlat:
var s := StyleBoxFlat.new()
s.bg_color = color