forked from team-sg/hero-mark-2
hide lore entries during options screen (fixes #93)
This commit is contained in:
parent
0006f02a0f
commit
09a15604f1
2 changed files with 5 additions and 3 deletions
|
@ -34,6 +34,7 @@ func _on_Restart_pressed():
|
|||
|
||||
|
||||
func _on_Settings_pressed():
|
||||
$LoreContainer.visible = false
|
||||
options_screen.focus()
|
||||
|
||||
|
||||
|
@ -45,4 +46,5 @@ func _on_ExitLevel_pressed():
|
|||
|
||||
func _on_OptionsScreen_exit():
|
||||
options_screen.visible = false
|
||||
$LoreContainer.visible = true
|
||||
$Body/Settings.grab_focus()
|
||||
|
|
|
@ -94,9 +94,6 @@ margin_bottom = 41.0
|
|||
focus_neighbour_top = NodePath("../Settings")
|
||||
texture_focused = ExtResource( 3 )
|
||||
|
||||
[node name="OptionsScreen" parent="." instance=ExtResource( 7 )]
|
||||
visible = false
|
||||
|
||||
[node name="LoreContainer" type="MarginContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -105,6 +102,9 @@ margin_top = 84.0
|
|||
margin_right = -8.0
|
||||
margin_bottom = -14.0
|
||||
|
||||
[node name="OptionsScreen" parent="." instance=ExtResource( 7 )]
|
||||
visible = false
|
||||
|
||||
[connection signal="pressed" from="Body/Resume" to="." method="_on_Resume_pressed"]
|
||||
[connection signal="pressed" from="Body/Restart" to="." method="_on_Restart_pressed"]
|
||||
[connection signal="pressed" from="Body/Settings" to="." method="_on_Settings_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue