fix#217 menu being borked
This commit is contained in:
parent
ca0cde8ee8
commit
18f8368d24
|
|
@ -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"]
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue