Starts maximized only if it was in previous session

This commit is contained in:
Francesco Abbate 2021-05-28 16:35:25 +02:00
parent f7e3e41ab1
commit 6d044224c1
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ function core.init()
local recent_projects, window_position, window_mode = load_session()
if window_mode == "normal" then
system.set_window_size(table.unpack(window_position))
else
elseif window_mode == "maximized" then
system.set_window_mode("maximized")
end
core.recent_projects = recent_projects