Skip to content

Commit fb41ebb

Browse files
keyboard nav on title
1 parent a9cb975 commit fb41ebb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

scenes/menus/settings_panels/audio_settings_panel.tscn

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
anchors_preset = 15
77
anchor_right = 1.0
88
anchor_bottom = 1.0
9-
offset_left = 31.0
10-
offset_top = -37.0
11-
offset_right = 31.0
12-
offset_bottom = -37.0
139
grow_horizontal = 2
1410
grow_vertical = 2
1511
theme_override_styles/panel = SubResource("StyleBoxEmpty_ybiuv")

src/menus/TitleMenu.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public partial class TitleMenu : Control
1313
public override void _Ready() {
1414
InitReferences();
1515
InitSubscriptions();
16+
GetNode<Button>("TitleArrangement/ButtonContainer/Play").GrabFocus();
1617

1718
string projectTitle = ProjectSettings.GetSetting("application/config/name").AsString();
1819
string versionNumber = ProjectSettings.GetSetting("application/config/version").AsString();

0 commit comments

Comments
 (0)