about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source_edit.lua')
-rw-r--r--source_edit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source_edit.lua b/source_edit.lua
index 8032278..f58d7e3 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -86,7 +86,7 @@ function edit.initialize_state(top, left, right, font, font_height, line_height)
     previous_drawing_mode = nil,  -- extra state for some ephemeral modes like moving/deleting/naming points
 
     font = font,
-    font_height = font:getHeight(),
+    font_height = font_height,
     line_height = line_height,
 
     top = top,