diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-05-28 16:35:25 +0200 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-05-28 16:35:25 +0200 |
| commit | 6d044224c1ad8f629a7baaa40a912f58d30c9896 (patch) | |
| tree | 240a03f1a6ed275ce0b1bfef5169b695b0bf50e4 /data/core/init.lua | |
| parent | f7e3e41ab167ef9a0217e1bdcfcb8cd72109c610 (diff) | |
| download | lite-xl-1.16.11.tar.gz lite-xl-1.16.11.zip | |
Starts maximized only if it was in previous sessionv1.16.11
Diffstat (limited to 'data/core/init.lua')
| -rw-r--r-- | data/core/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/core/init.lua b/data/core/init.lua index 466a4870..a7ae2a26 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -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 |
