mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
Fix crash on Godot 4.3 when the mouse is inside the window when Pixelorama is starting
This commit is contained in:
parent
158e0fa18b
commit
547f307b53
|
@ -369,6 +369,8 @@ func _handle_cmdline_arguments() -> void:
|
||||||
|
|
||||||
|
|
||||||
func _notification(what: int) -> void:
|
func _notification(what: int) -> void:
|
||||||
|
if not is_inside_tree():
|
||||||
|
return
|
||||||
match what:
|
match what:
|
||||||
NOTIFICATION_WM_CLOSE_REQUEST:
|
NOTIFICATION_WM_CLOSE_REQUEST:
|
||||||
show_quit_dialog()
|
show_quit_dialog()
|
||||||
|
|
Loading…
Reference in a new issue