diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 16:33:36 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 16:33:36 -0700 |
commit | 0cc8c706ffc4da107df402e3eac977aefb75f6dc (patch) | |
tree | 852a784f2bfe3a9604b8988c4c5d89d797836eff | |
parent | 287050d598184943209b564657cb1e29ff641fd7 (diff) | |
download | lines.love-0cc8c706ffc4da107df402e3eac977aefb75f6dc.tar.gz |
isolate some tests from settings
-rw-r--r-- | source.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source.lua b/source.lua index 5bcb154..c752604 100644 --- a/source.lua +++ b/source.lua @@ -334,7 +334,9 @@ function source.keychord_pressed(chord, key) --? print('done setting window') -- try to restore position if possible -- if the window gets wider the window manager may not respect this - source.set_window_position_from_settings(Settings.source) + if not App.run_tests then + source.set_window_position_from_settings(Settings.source) + end return end if chord == 'C-g' then |