mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix splash screen not appearing in the Web version
This commit is contained in:
parent
79ff0a8d45
commit
c921344b04
|
@ -249,7 +249,7 @@ func show_splash_screen() -> void:
|
|||
Global.config_cache.set_value("preferences", "startup", true)
|
||||
|
||||
if Global.config_cache.get_value("preferences", "startup"):
|
||||
if OS.window_size != Vector2(1280, 720):
|
||||
if OS.get_name() != "HTML5" and OS.window_size != Vector2(1280, 720):
|
||||
# Wait for the window to adjust itself, so the popup is correctly centered
|
||||
yield(get_tree(), "screen_resized")
|
||||
|
||||
|
|
Loading…
Reference in a new issue