mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:44:42 -04:00
Theme preferences now get saved in the config_cache file
This commit is contained in:
parent
2fc9711788
commit
c3e75496d6
3 changed files with 15 additions and 3 deletions
|
@ -33,9 +33,6 @@ func _ready() -> void:
|
|||
# Make sure locales are always sorted, in the same order
|
||||
Global.loaded_locales.sort()
|
||||
|
||||
# Load settings from the config file
|
||||
Global.config_cache.load("user://cache.ini")
|
||||
|
||||
# Restore the window position/size if values are present in the configuration cache
|
||||
if Global.config_cache.has_section_key("window", "screen"):
|
||||
OS.current_screen = Global.config_cache.get_value("window", "screen")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue