bugfix: enable resize when loading settings
[?]
Jul 1, 2022, 5:58 AM
5MR22SGZE5YDU5CAIY53GNJDA6HSWBPYPD6M3FRQ5ZUMCSKTYJRACDependencies
- [2]
YGCT2D2Ostart loading settings as applicable - [3]
AVTNUQYRbasic test-enabled framework - [4]
HFI2YR2Crip out geometry commandline arg - [5]
MHOUX5JFexperiment: turn off JIT - [6]
46ASCE5Kfirst commandline arg: window dimensions - [7]
NEXUNNCFextract a function - [*]
OTIBCAUJlove2d scaffold
Change contents
- edit in main.lua at line 150
-- maximize window to determine maximum allowable dimensionslove.window.setMode(0, 0) -- maximizeApp.screen.width, App.screen.height, App.screen.flags = love.window.getMode()-- - edit in main.lua at line 156
App.screen.width, App.screen.height, App.screen.flags = love.window.getMode()App.screen.flags.resizable = trueApp.screen.flags.minwidth = math.min(App.screen.width, 200)App.screen.flags.minheight = math.min(App.screen.width, 200) - replacement in main.lua at line 161
love.window.setMode(App.screen.width, App.screen.height)love.window.setMode(App.screen.width, App.screen.height, App.screen.flags) - replacement in main.lua at line 183
love.window.updateMode(App.screen.width, App.screen.height, App.screen.flags)love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)