drop an unused arg

This commit is contained in:
Kartik K. Agaram 2023-07-11 08:36:42 -07:00
parent bca7f82598
commit 52ba030eaa
2 changed files with 4 additions and 4 deletions

View File

@ -80,14 +80,14 @@ end
function run.initialize_default_settings()
local font_height = 20
love.graphics.setFont(love.graphics.newFont(font_height))
run.initialize_window_geometry(App.width('m'))
run.initialize_window_geometry()
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
Editor_state.font_height = font_height
Editor_state.line_height = math.floor(font_height*1.3)
Settings = run.settings()
end
function run.initialize_window_geometry(em_width)
function run.initialize_window_geometry()
-- Initialize window width/height and make window resizable.
--
-- I get tempted to have opinions about window dimensions here, but they're

View File

@ -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