Fix: popup anchor Control must ignore mouse to not block game input
The full-rect Control wrapper had default MOUSE_FILTER_STOP, eating all clicks across the entire screen. Set MOUSE_FILTER_IGNORE so input passes through to the 3D scene and HUD beneath it. 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>
This commit is contained in:
@@ -168,6 +168,7 @@ func _ready() -> void:
|
||||
add_child(_popup_layer)
|
||||
var _popup_anchor := Control.new()
|
||||
_popup_anchor.set_anchors_preset(Control.PRESET_FULL_RECT)
|
||||
_popup_anchor.mouse_filter = Control.MOUSE_FILTER_IGNORE
|
||||
_popup_layer.add_child(_popup_anchor)
|
||||
_card_detail_popup = _CARD_DETAIL_POPUP_SCENE.instantiate()
|
||||
_popup_anchor.add_child(_card_detail_popup)
|
||||
|
||||
Reference in New Issue
Block a user