Lots of little tweaks and fixes
This commit is contained in:
+1
-22
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7kvg0jw6w340" path="res://ui/pause/PauseMain.gd" id="1_b5xfl"]
|
||||
|
||||
[node name="PauseMain" type="VBoxContainer" node_paths=PackedStringArray("btnResume", "btnSettings", "btnMainMenu", "btnQuit", "mainButtons", "confirmQuit", "btnQuitConfirm", "btnQuitCancel")]
|
||||
[node name="PauseMain" type="VBoxContainer" node_paths=PackedStringArray("btnResume", "btnSettings", "btnMainMenu", "btnQuit")]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
@@ -16,10 +16,6 @@ btnResume = NodePath("MainButtons/Resume")
|
||||
btnSettings = NodePath("MainButtons/Settings")
|
||||
btnMainMenu = NodePath("MainButtons/MainMenu")
|
||||
btnQuit = NodePath("MainButtons/Quit")
|
||||
mainButtons = NodePath("MainButtons")
|
||||
confirmQuit = NodePath("ConfirmQuit")
|
||||
btnQuitConfirm = NodePath("ConfirmQuit/Yes")
|
||||
btnQuitCancel = NodePath("ConfirmQuit/No")
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -44,20 +40,3 @@ text = "Main Menu"
|
||||
[node name="Quit" type="Button" parent="MainButtons"]
|
||||
layout_mode = 2
|
||||
text = "Quit Game"
|
||||
|
||||
[node name="ConfirmQuit" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="ConfirmQuit"]
|
||||
layout_mode = 2
|
||||
text = "Quit to desktop?"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Yes" type="Button" parent="ConfirmQuit"]
|
||||
layout_mode = 2
|
||||
text = "Yes"
|
||||
|
||||
[node name="No" type="Button" parent="ConfirmQuit"]
|
||||
layout_mode = 2
|
||||
text = "No"
|
||||
|
||||
Reference in New Issue
Block a user