about summary refs log tree commit diff stats
path: root/edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-04-02 17:19:03 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-04-02 17:19:03 -0700
commit384fb2d19cf5879882426df9e31c77ad7e5bcc8d (patch)
tree149655baa64ad2d85529f8638fbdea353df290bf /edit.lua
parent29f1687f3c6a494eb67029acbeefbf11571bbe2c (diff)
downloadtext.love-384fb2d19cf5879882426df9e31c77ad7e5bcc8d.tar.gz
streamline the interface for Text.draw
Diffstat (limited to 'edit.lua')
-rw-r--r--edit.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua
index 9a198f3..4e0f972 100644
--- a/edit.lua
+++ b/edit.lua
@@ -183,7 +183,6 @@ function edit.draw(State)
         })
       end
       y, State.screen_bottom1.pos = Text.draw(State, line_index, y, startpos)
-      y = y + State.line_height
 --?       print('=> y', y)
     elseif line.mode == 'drawing' then
       y = y+Drawing_padding_top