fix(input): let swipes reach scroll containers

Godot ScrollContainer only receives drag gestures when the controls under the finger pass them through. Guest Book cards, House Rules rows, and Settings rows now use PASS, so swiping scrolls while taps, toggles, sliders, and buttons still work. The tutorial board keeps its own input.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 20:32:23 -06:00
1 parent dffdee63a6
commit d679a12e1d
5 files changed
+47 -4

No files matched your search

+5
View File
@@ -101,6 +101,11 @@ func _ready() -> void:
if not tutorial.is_empty():
tutorial_board.set_level(tutorial)
# Everything in the rules list passes drags to the ScrollContainer, so
# a swipe works over labels and buttons. The practice board keeps its
# own input.
UI.pass_scroll_input(content, [tutorial_board])
func _body(text: String) -> Label:
var label := UI.label(text, 12, Palette.MUTED)