diff --git a/objects/hud/options_screen.gd b/objects/hud/options_screen.gd index 30e80a3..c688f01 100644 --- a/objects/hud/options_screen.gd +++ b/objects/hud/options_screen.gd @@ -70,7 +70,7 @@ func _gui_input(event): accept_event() func _unhandled_input(event): - if !has_focus(): + if !visible: return if event.is_action_pressed("ui_accept"): apply_options() diff --git a/objects/hud/options_screen.tscn b/objects/hud/options_screen.tscn index 18082f1..2cbeb5e 100644 --- a/objects/hud/options_screen.tscn +++ b/objects/hud/options_screen.tscn @@ -53,7 +53,6 @@ margin_bottom = 152.0 theme = ExtResource( 2 ) [node name="Game" type="VBoxContainer" parent="Tabs"] -visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 7.0 @@ -122,6 +121,7 @@ text = "BPM" align = 0 [node name="Video" type="VBoxContainer" parent="Tabs"] +visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 7.0