fix(hand): scroll throttle, deselect on spin/click-outside for all card modes
- Throttle hand scroll to one step per 150 ms so each wheel tick advances exactly one card - Deselect selected card when clicking outside the hand area (deferred flag pattern so board clicks still play the card) - Extend spin and click-outside deselect to cover TERRAMORPHA_SELECT and card-triggered ABILITY_TARGET (Repentance/Instinct), not just CARD_FROM_HAND - Show Repentance/Instinct cards as visually selected in hand when in ABILITY_TARGET mode - Drop stale spectator state_update pushes from wrong sessions - Auto-create missing audio buses on Settings._ready to avoid bus-not-found errors 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:
@@ -13,6 +13,7 @@
|
||||
[sub_resource type="Theme" id="Theme_056su"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ld7sk"]
|
||||
bg_color = Color(0.38039216, 0.38039216, 0.38039216, 0.58431375)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xjmfi"]
|
||||
|
||||
@@ -574,12 +575,6 @@ layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Return to Main Menu"
|
||||
|
||||
[node name="SettingsLayer" type="CanvasLayer" parent="."]
|
||||
layer = 15
|
||||
|
||||
[node name="InGameSettings" parent="SettingsLayer" instance=ExtResource("2_igs")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="CamCtrlPanel" type="PanelContainer" parent="HUD"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
@@ -613,6 +608,12 @@ layout_mode = 2
|
||||
toggle_mode = true
|
||||
text = "Zoom"
|
||||
|
||||
[node name="SettingsLayer" type="CanvasLayer" parent="."]
|
||||
layer = 15
|
||||
|
||||
[node name="InGameSettings" parent="SettingsLayer" instance=ExtResource("2_igs")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="HoldTimer" type="Timer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
wait_time = 0.5
|
||||
|
||||
Reference in New Issue
Block a user