Makes sure that BackupConfirmation dialog is properly centered

Moved yield(get_tree().create_timer(0.01), "timeout") in _ready() of Main.gd outside of the if, to affect the BackupConfirmation dialog too.
This commit is contained in:
OverloadedOrama 2020-05-02 18:10:01 +03:00
parent b70fae36a3
commit babd5759f8
2 changed files with 4 additions and 2 deletions

View file

@ -37,6 +37,7 @@ func _on_ShowOnStartup_toggled(pressed : bool) -> void:
Global.config_cache.set_value("preferences", "startup", false)
else:
Global.config_cache.set_value("preferences", "startup", true)
Global.config_cache.save("user://cache.ini")
func _on_PatreonButton_pressed() -> void: