fixed a bug where the puase menu couldnt be closed by pressing the pause button again

This commit is contained in:
JHDev2006
2025-09-28 21:52:14 +01:00
parent c0f2044a1e
commit 1711402a6a
4 changed files with 36 additions and 22 deletions

View File

@@ -105,6 +105,7 @@ visible = true
[node name="LabelFontChanger" parent="SettingsMenu" index="1" node_paths=PackedStringArray("labels")]
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/Title"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"), null, null, null, null, null, null, null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3/Value"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer/Desc")]
[connection signal="closed" from="." to="SettingsMenu" method="close"]
[connection signal="option_3_selected" from="." to="." method="open_settings"]
[editable path="SettingsMenu"]

View File

@@ -221,12 +221,14 @@ metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="6" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/ChallengeModeBits"]
position = Vector2(41, 4)
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(0, 0, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="Full" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/ChallengeModeBits/6"]
visible = false
texture = ExtResource("11_sk22j")
region_enabled = true
region_rect = Rect2(8, 0, 8, 8)
@@ -417,14 +419,16 @@ metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="6" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/ChallengeModeBits"]
position = Vector2(41, 4)
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(0, 0, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="Full" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/ChallengeModeBits/6"]
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(16, 0, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
@@ -613,14 +617,16 @@ metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="6" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/ChallengeModeBits"]
position = Vector2(41, 4)
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(0, 0, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="Full" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/ChallengeModeBits/6"]
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(0, 8, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
@@ -809,14 +815,16 @@ metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="6" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/ChallengeModeBits"]
position = Vector2(41, 4)
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(0, 0, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"
[node name="Full" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/ChallengeModeBits/6"]
texture = ExtResource("11_sk22j")
region_enabled = true
hframes = 3
vframes = 2
region_rect = Rect2(8, 8, 8, 8)
script = ExtResource("6_x05vu")
metadata/_custom_type_script = "uid://364rywt44hy6"