about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-01-01 18:05:50 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-01-01 18:05:50 -0800
commit77e56a61d892a0ee1a384f60ce3835a8bbc59cb5 (patch)
treea9f9469d1eafd8a6c889e5103ccd1dc77cb377f4 /source.lua
parent10164d9e7e01d7616c828c6533f8a80a2354d437 (diff)
parentf611eabad811d552146398e3c8ad877f50a65bbe (diff)
downloadview.love-77e56a61d892a0ee1a384f60ce3835a8bbc59cb5.tar.gz
Merge text.love
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source.lua b/source.lua
index 139e7a9..3ad4b12 100644
--- a/source.lua
+++ b/source.lua
@@ -172,7 +172,7 @@ function source.initialize_window_geometry(em_width)
   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.width, 200)
+  App.screen.flags.minheight = math.min(App.screen.height, 200)
   App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
   print('initializing source position')
   if Settings == nil then Settings = {} end