about summary refs log tree commit diff stats
path: root/drawing.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-17 23:23:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-17 23:23:26 -0700
commitb544e8c3576aec557f384c5d31224c6cfe625de7 (patch)
treea3ec82695236b3bba154431567ed142e3c82c8e3 /drawing.lua
parent6e152a9f3fc8dcae132874e9ea967bbf211fc5aa (diff)
downloadlines.love-b544e8c3576aec557f384c5d31224c6cfe625de7.tar.gz
forgot to move this special case out
Diffstat (limited to 'drawing.lua')
-rw-r--r--drawing.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/drawing.lua b/drawing.lua
index 0b479fc..d05a173 100644
--- a/drawing.lua
+++ b/drawing.lua
@@ -167,9 +167,6 @@ function Drawing.keychord_pressed(chord)
     Drawing_width = Drawing_width/Zoom
     Zoom = 1.5
     Drawing_width = Drawing_width*Zoom
-  elseif chord == 'escape' and love.mouse.isDown('1') then
-    local drawing = Drawing.current_drawing()
-    drawing.pending = {}
   elseif chord == 'C-f' and not love.mouse.isDown('1') then
     Current_drawing_mode = 'freehand'
   elseif chord == 'C-g' and not love.mouse.isDown('1') then