diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 22:20:26 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 22:20:26 -0800 |
commit | 7557e0904aaab50622480c6bc08a8439a57d57d7 (patch) | |
tree | 6b0d021c66a84953aac53a6f13ec8ad9ebc9d680 | |
parent | 60e1023f0ba5f78e2466799a96ad90edb01d6704 (diff) | |
download | view.love-7557e0904aaab50622480c6bc08a8439a57d57d7.tar.gz |
bugfix
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index 562bb6e..e0a5ff1 100644 --- a/edit.lua +++ b/edit.lua @@ -460,7 +460,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 = {} |