From 7557e0904aaab50622480c6bc08a8439a57d57d7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 27 Nov 2022 22:20:26 -0800 Subject: [PATCH] bugfix --- edit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {}