Skip to content

Commit

Permalink
Options, focus current tab on arrow up (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
duianto authored Aug 1, 2022
1 parent f44d989 commit 8d986a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scenes/title/options/OptionsMenu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

4 comments on commit 8d986a5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.