about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-11 20:41:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-11 20:41:51 -0700
commit24a0d162ef8c1889b40853d212b2ed852dc3afb6 (patch)
treed3c299498691259ef117bd8af1891c885d0c74dd
parentf8cdd0166185342086c67e54c5ef209ae900e4e1 (diff)
downloadtext.love-24a0d162ef8c1889b40853d212b2ed852dc3afb6.tar.gz
bugfix: missed fixing a callsite
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 15d095f..83280ae 100644
--- a/main.lua
+++ b/main.lua
@@ -450,7 +450,7 @@ function App.keychord_pressed(chord)
     -- DON'T reset line.y here
     Drawing.keychord_pressed(chord)
   elseif chord == 'escape' and love.mouse.isDown('1') then
-    local drawing = Drawing.current_drawing()
+    local _,drawing = Drawing.current_drawing()
     if drawing then
       drawing.pending = {}
     end