Starts maximized only if it was in previous session
This commit is contained in:
parent
f7e3e41ab1
commit
6d044224c1
|
@ -432,7 +432,7 @@ function core.init()
|
||||||
local recent_projects, window_position, window_mode = load_session()
|
local recent_projects, window_position, window_mode = load_session()
|
||||||
if window_mode == "normal" then
|
if window_mode == "normal" then
|
||||||
system.set_window_size(table.unpack(window_position))
|
system.set_window_size(table.unpack(window_position))
|
||||||
else
|
elseif window_mode == "maximized" then
|
||||||
system.set_window_mode("maximized")
|
system.set_window_mode("maximized")
|
||||||
end
|
end
|
||||||
core.recent_projects = recent_projects
|
core.recent_projects = recent_projects
|
||||||
|
|
Loading…
Reference in New Issue