From 8d986a516d4915ae639ad82fb9c4e9b0476d3106 Mon Sep 17 00:00:00 2001 From: duianto Date: Mon, 1 Aug 2022 10:56:19 +0200 Subject: [PATCH] Options, focus current tab on arrow up (#587) --- scenes/title/options/OptionsMenu.tscn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scenes/title/options/OptionsMenu.tscn b/scenes/title/options/OptionsMenu.tscn index 3951ec2f4..e546d0ece 100644 --- a/scenes/title/options/OptionsMenu.tscn +++ b/scenes/title/options/OptionsMenu.tscn @@ -140,6 +140,9 @@ margin_bottom = 40.0 [node name="OptionLabel" parent="CustomTabContainer/Panel/AudioSettings/GameVolume" index="1"] text = "GAME VOLUME" +[node name="Slider" parent="CustomTabContainer/Panel/AudioSettings/GameVolume" index="2"] +focus_neighbour_top = NodePath("../../../../Tabs/AudioTab") + [node name="MusicVolume" parent="CustomTabContainer/Panel/AudioSettings" instance=ExtResource( 12 )] margin_top = 44.0 margin_right = 680.0 @@ -189,6 +192,7 @@ value_label_mapping = { text = "CAMERA LEAN" [node name="Slider" parent="CustomTabContainer/Panel/GraphicsSettings/CameraLean" index="2"] +focus_neighbour_top = NodePath("../../../../Tabs/GraphicsTab") max_value = 2.0 value = 0.0 tick_count = 3