diff options
Diffstat (limited to 'source.lua')
-rw-r--r-- | source.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source.lua b/source.lua index 2d4cc95..2b9b1a4 100644 --- a/source.lua +++ b/source.lua @@ -159,14 +159,14 @@ end function source.initialize_default_settings() local font_height = 20 love.graphics.setFont(love.graphics.newFont(font_height)) - source.initialize_window_geometry(App.width('m')) + source.initialize_window_geometry() Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right) Editor_state.filename = 'run.lua' Editor_state.font_height = font_height Editor_state.line_height = math.floor(font_height*1.3) end -function source.initialize_window_geometry(em_width) +function source.initialize_window_geometry() -- Initialize window width/height and make window resizable. -- -- I get tempted to have opinions about window dimensions here, but they're |