fix(hand): set mouse_filter=IGNORE on Panel/Panel2 in HandArea
These full-size Panel nodes were overlapping HandCards and swallowing all click events before cards could receive them. 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:
@@ -359,6 +359,7 @@ anchor_right = 0.75
|
|||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_top = -248.0
|
offset_top = -248.0
|
||||||
offset_bottom = 2.0
|
offset_bottom = 2.0
|
||||||
|
mouse_filter = 2
|
||||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_ld7sk")
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_ld7sk")
|
||||||
|
|
||||||
[node name="HandScroll" type="Control" parent="HUD/HandArea"]
|
[node name="HandScroll" type="Control" parent="HUD/HandArea"]
|
||||||
@@ -377,6 +378,7 @@ grow_vertical = 2
|
|||||||
|
|
||||||
[node name="Panel" type="Panel" parent="HUD/HandArea"]
|
[node name="Panel" type="Panel" parent="HUD/HandArea"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
mouse_filter = 2
|
||||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_w2jaq")
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_w2jaq")
|
||||||
|
|
||||||
[node name="HandSpinLeft" type="TextureButton" parent="HUD/HandArea/Panel"]
|
[node name="HandSpinLeft" type="TextureButton" parent="HUD/HandArea/Panel"]
|
||||||
@@ -395,6 +397,7 @@ flip_h = true
|
|||||||
|
|
||||||
[node name="Panel2" type="Panel" parent="HUD/HandArea"]
|
[node name="Panel2" type="Panel" parent="HUD/HandArea"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
mouse_filter = 2
|
||||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_fuou0")
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_fuou0")
|
||||||
|
|
||||||
[node name="HandSpinRight" type="TextureButton" parent="HUD/HandArea/Panel2"]
|
[node name="HandSpinRight" type="TextureButton" parent="HUD/HandArea/Panel2"]
|
||||||
|
|||||||
Reference in New Issue
Block a user