bugfix: missed fixing a callsite

This commit is contained in:
Kartik K. Agaram 2022-06-11 20:41:51 -07:00
parent f8cdd01661
commit 24a0d162ef
1 changed files with 1 additions and 1 deletions

View File

@ -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