forked from team-sg/hero-mark-2
fix options screen focus issue
This commit is contained in:
parent
ebac7e2da2
commit
319eec7f5b
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ func _gui_input(event):
|
||||||
accept_event()
|
accept_event()
|
||||||
|
|
||||||
func _unhandled_input(event):
|
func _unhandled_input(event):
|
||||||
if !has_focus():
|
if !visible:
|
||||||
return
|
return
|
||||||
if event.is_action_pressed("ui_accept"):
|
if event.is_action_pressed("ui_accept"):
|
||||||
apply_options()
|
apply_options()
|
||||||
|
|
|
@ -53,7 +53,6 @@ margin_bottom = 152.0
|
||||||
theme = ExtResource( 2 )
|
theme = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="Game" type="VBoxContainer" parent="Tabs"]
|
[node name="Game" type="VBoxContainer" parent="Tabs"]
|
||||||
visible = false
|
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
margin_top = 7.0
|
margin_top = 7.0
|
||||||
|
@ -122,6 +121,7 @@ text = "BPM"
|
||||||
align = 0
|
align = 0
|
||||||
|
|
||||||
[node name="Video" type="VBoxContainer" parent="Tabs"]
|
[node name="Video" type="VBoxContainer" parent="Tabs"]
|
||||||
|
visible = false
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
margin_top = 7.0
|
margin_top = 7.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue