From cece0a3f36115b839f813ed05322c6c1a8e3201d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 11 Sep 2024 10:16:58 +0200 Subject: update --- Scenes/UI/Menu.gd | 1 + Scenes/UI/Menu.tscn | 3 +++ 2 files changed, 4 insertions(+) (limited to 'Scenes/UI') diff --git a/Scenes/UI/Menu.gd b/Scenes/UI/Menu.gd index fd5d9dc..b70ca55 100644 --- a/Scenes/UI/Menu.gd +++ b/Scenes/UI/Menu.gd @@ -136,6 +136,7 @@ func _on_slot_pressed(slot_idx): %BombComponents.grab_focus() current_slot_idx = slot_idx + %BombComponents.focus_mode = FOCUS_NONE func _on_bomb_components_item_selected(idx): diff --git a/Scenes/UI/Menu.tscn b/Scenes/UI/Menu.tscn index ab92f55..c817792 100644 --- a/Scenes/UI/Menu.tscn +++ b/Scenes/UI/Menu.tscn @@ -53,6 +53,7 @@ theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 +metadata/_tab_index = 0 [node name="Panel" type="Panel" parent="TabContainer/Bombs"] layout_mode = 2 @@ -180,6 +181,7 @@ theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 +metadata/_tab_index = 1 [node name="Panel" type="Panel" parent="TabContainer/Character"] layout_mode = 2 @@ -244,6 +246,7 @@ theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 +metadata/_tab_index = 2 [node name="Panel" type="Panel" parent="TabContainer/System"] layout_mode = 2 -- cgit v1.2.3