about summary refs log tree commit diff stats
path: root/run.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-07-10 16:33:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-07-10 16:33:17 -0700
commit3f52063d026dcdaa299020573761266ab9a8618f (patch)
treef3ff82c333d0ff55591210218817638aa344e56d /run.lua
parentb42f08cb791dcd1c2dc1c6dc442d375a89976e75 (diff)
downloadlines.love-3f52063d026dcdaa299020573761266ab9a8618f.tar.gz
delete flags that have never been exercised
Initialization is getting complex, and I'm finding bugs.
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/run.lua b/run.lua
index 378279c..227c34f 100644
--- a/run.lua
+++ b/run.lua
@@ -59,8 +59,6 @@ function run.load_settings()
   App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
   -- set up desired window dimensions
   App.screen.flags.resizable = true
-  App.screen.flags.minwidth = math.min(App.screen.width, 200)
-  App.screen.flags.minheight = math.min(App.screen.height, 200)
   App.screen.width, App.screen.height = Settings.width, Settings.height
   App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
   run.set_window_position_from_settings(Settings)
@@ -105,8 +103,6 @@ function run.initialize_window_geometry(em_width)
   App.screen.height = App.screen.height-100
   App.screen.width = 40*em_width
   App.screen.flags.resizable = true
-  App.screen.flags.minwidth = math.min(App.screen.width, 200)
-  App.screen.flags.minheight = math.min(App.screen.height, 200)
   App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
 end