aboutsummaryrefslogtreecommitdiff
path: root/client/menu/settings_menu.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-29 21:28:33 +0200
committertpart <tpart120@proton.me>2024-06-29 21:28:38 +0200
commitfde874b3de5f969092a57ff2edcf57c0aff4e2e9 (patch)
tree794e425894e19f00645248be9a8d1be76a180512 /client/menu/settings_menu.gd
parentd67e6aa03f250715b8e2ec580c93acd443094f72 (diff)
downloadhurrycurry-fde874b3de5f969092a57ff2edcf57c0aff4e2e9.tar
hurrycurry-fde874b3de5f969092a57ff2edcf57c0aff4e2e9.tar.bz2
hurrycurry-fde874b3de5f969092a57ff2edcf57c0aff4e2e9.tar.zst
Add menu sound effects; Fix focus disappearing when changing preset
Diffstat (limited to 'client/menu/settings_menu.gd')
-rw-r--r--client/menu/settings_menu.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/menu/settings_menu.gd b/client/menu/settings_menu.gd
index 4c14a459..b433951f 100644
--- a/client/menu/settings_menu.gd
+++ b/client/menu/settings_menu.gd
@@ -43,6 +43,9 @@ func update_rows():
row.connect("apply_preset", apply_preset)
options.add_child(row)
settings[k] = row
+ await get_tree().process_frame
+ Global.focus_first_button(self)
+
func apply_preset(preset: Dictionary):
for k in settings.keys():