about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-20 06:09:37 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-20 06:10:04 -0700
commit1573dd842590973252ffa82767e3ac1b5d23bf89 (patch)
tree8ce9327039b732781af4bcd1648774ba35bcf254 /main.lua
parent05ac4a5057ae8992fb920c6ba3641552ecd4c377 (diff)
downloadtext.love-1573dd842590973252ffa82767e3ac1b5d23bf89.tar.gz
start using some globals
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index b4059ad..014f8b4 100644
--- a/main.lua
+++ b/main.lua
@@ -130,7 +130,7 @@ function love.draw()
         y = y + Drawing.pixels(line.h) + 10 -- padding
       else
         line.y = y
-        y = Text.draw(line, Line_width, line_index, Cursor_line, Cursor_pos)
+        y = Text.draw(line, Line_width, line_index)
         y = y + math.floor(15*Zoom)  -- text height
       end
     end