fixed issue where options screen didnt focus on tab selector

This commit is contained in:
pennyrigate 2024-07-12 00:47:48 -04:00
parent 655d000b51
commit 3a4a6edf40
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=44 format=2]
[gd_scene load_steps=45 format=2]
[ext_resource path="res://menus/level_select_scholar.gd" type="Script" id=1]
[ext_resource path="res://graphics/level_select/world_map.png" type="Texture" id=2]
@ -18,6 +18,7 @@
[ext_resource path="res://graphics/player/palettes/default.tex" type="Texture" id=16]
[ext_resource path="res://shaders/recolor.tres" type="Shader" id=17]
[ext_resource path="res://objects/hud/options_screen_scholar.tscn" type="PackedScene" id=18]
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=19]
[sub_resource type="CanvasItemMaterial" id=9]
particles_animation = true
@ -1485,6 +1486,9 @@ text = "YES"
[node name="OptionsScreen" parent="." instance=ExtResource( 18 )]
visible = false
[node name="MenuSounds" parent="." instance=ExtResource( 19 )]
unique_name_in_owner = true
[connection signal="button_down" from="MenuPopup/PanelContainer/VBoxContainer/Resume/ResumeButton" to="AnimationPlayer" method="play" binds= [ "hide_menu" ]]
[connection signal="button_down" from="MenuPopup/PanelContainer/VBoxContainer/Palettes/PalettesButton" to="." method="_on_PalettesButton_button_down"]
[connection signal="button_down" from="MenuPopup/PanelContainer/VBoxContainer/OptionsButton/OptionsButton" to="." method="_on_OptionsButton_button_down"]