diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-07-11 10:30:17 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-07-11 10:30:17 -0700 |
commit | 5eec90424e5024714cb0e13042638c6641dedfcc (patch) | |
tree | 79c2016b3d89a62180d0c93ba950d85ee5e4e953 /source.lua | |
parent | c1f793a130e6a68d7002080f170ca899c28c65e0 (diff) | |
parent | f72fe2f172a37248026ade3a07b77ff2d1c7282c (diff) | |
download | view.love-5eec90424e5024714cb0e13042638c6641dedfcc.tar.gz |
Merge text.love
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 |