diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-05 10:08:28 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-05 10:08:28 -0700 |
commit | 9cafed99f4afbe1b8e7d20d78f623b9ee32579ef (patch) | |
tree | 213f292085bd0ea7f07cc7b5cd4c940aeaf5d059 /main.lua | |
parent | e7a985bd0a02a1b443cb89ca5ce09506f18a870f (diff) | |
download | text.love-9cafed99f4afbe1b8e7d20d78f623b9ee32579ef.tar.gz |
another bugfix in scrolling while inserting text
I'm being unprincipled at the moment between pos and x,y coordinates. Whatever is more convenient. Perhaps a cleaner approach will come to me over time.
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua index c6829af..bb48ba3 100644 --- a/main.lua +++ b/main.lua @@ -166,6 +166,7 @@ function App.draw() Text.draw_cursor(25, y) end end + Screen_bottom1.pos = Screen_top1.pos y = y + Line_height elseif line.mode == 'drawing' then y = y+10 -- padding |