From 60b3856a239b6a811088568ba6a17d6915678a72 Mon Sep 17 00:00:00 2001 From: xiaji Date: Fri, 5 Jun 2026 20:03:27 +0800 Subject: [PATCH] fix(ui): connect _gui_input to receive card clicks (was dead handler) --- src/ui/components/card_node.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/components/card_node.gd b/src/ui/components/card_node.gd index ed7a1a0..a695422 100644 --- a/src/ui/components/card_node.gd +++ b/src/ui/components/card_node.gd @@ -78,7 +78,7 @@ func set_selected(sel: bool) -> void: _lift_tween.set_ease(Tween.EASE_OUT) _lift_tween.tween_property(self, "position:y", LIFT_OFFSET if sel else 0.0, LIFT_DURATION) -func _on_gui_input(event: InputEvent) -> void: +func _gui_input(event: InputEvent) -> void: if event is InputEventMouseButton: if event.button_index == MOUSE_BUTTON_LEFT and event.pressed: if event.double_click: