Merge text.love

This commit is contained in:
Kartik K. Agaram 2023-01-01 18:08:43 -08:00
commit 27805f178f
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ function load_settings()
-- 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.width, 200)
App.screen.flags.minheight = math.min(App.screen.height, 200)
App.screen.width, App.screen.height = settings.width, settings.height
love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
love.window.setPosition(settings.x, settings.y, settings.displayindex)
@ -102,7 +102,7 @@ function 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)
love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
end