diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 22:22:16 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 22:22:16 -0800 |
commit | 5283c16e5cf2dca39f908ae7c2e8ff230c835824 (patch) | |
tree | eeecf8dab8984a7563df8e48bf2ac74461e5adc8 /edit.lua | |
parent | 176b81826cb382252768f1e163c16a2304a549ed (diff) | |
parent | 7557e0904aaab50622480c6bc08a8439a57d57d7 (diff) | |
download | view.love-5283c16e5cf2dca39f908ae7c2e8ff230c835824.tar.gz |
Merge lines.love
Diffstat (limited to 'edit.lua')
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index 147cb09..5714b99 100644 --- a/edit.lua +++ b/edit.lua @@ -316,7 +316,7 @@ end function edit.update_font_settings(State, font_height) State.font_height = font_height - love.graphics.setFont(love.graphics.newFont(Editor_state.font_height)) + love.graphics.setFont(love.graphics.newFont(State.font_height)) State.line_height = math.floor(font_height*1.3) State.em = App.newText(love.graphics.getFont(), 'm') Text_cache = {} |