1
0
Fork 0
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:
Manolis Papadeas 2021-11-22 21:38:17 +02:00
parent 79ff0a8d45
commit c921344b04

View file

@ -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")