mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Properly center the splash screen on application start
This commit is contained in:
parent
d8830d7f06
commit
b0e4636c66
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ func _show_splash_screen() -> void:
|
|||
if Global.config_cache.get_value("preferences", "startup"):
|
||||
# Wait for the window to adjust itself, so the popup is correctly centered
|
||||
yield(get_tree(), "idle_frame")
|
||||
yield(get_tree(), "idle_frame")
|
||||
|
||||
$Dialogs/SplashDialog.popup_centered() # Splash screen
|
||||
modulate = Color(0.5, 0.5, 0.5)
|
||||
|
|
Loading…
Add table
Reference in a new issue