fix#217 menu being borked

This commit is contained in:
betalars 2025-08-17 18:17:28 +02:00
parent ca0cde8ee8
commit 18f8368d24
2 changed files with 1 additions and 5 deletions

View File

@ -726,10 +726,6 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_kt5p7")
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
[node name="Accessibility2" parent="AccessibilityContainer/AccessibilityPanel" instance=ExtResource("11_kt5p7")]
unique_name_in_owner = true
layout_mode = 2
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="AudioStreamPlayer"] [node name="AnimationPlayer" type="AnimationPlayer" parent="AudioStreamPlayer"]

View File

@ -14,9 +14,9 @@ var is_active:bool = false:
if is_node_ready() and active: if is_node_ready() and active:
screenreader_check.grab_focus() screenreader_check.grab_focus()
if not active and is_active: if not active and is_active:
leave_stage.emit()
if has_stage: if has_stage:
State.leave_stage(self) State.leave_stage(self)
leave_stage.emit()
is_active = active is_active = active
if (is_active and not has_stage) and not get_tree().paused: if (is_active and not has_stage) and not get_tree().paused: