esc to cancel a shape mid-click

[?]
May 16, 2022, 5:05 AM
7Q4B6M2DAB6FZX6RGA2ZX2UTP6PG2LC745WNPK7ZMEUCSSGXEUQQC

Dependencies

Change contents

  • edit in main.lua at line 506
    [5.1135]
    [6.499]
    elseif chord == 'escape' and love.mouse.isDown('1') then
    local drawing = current_drawing()
    drawing.pending = {}
  • edit in main.lua at line 981
    [2.3300]
    [2.3300]
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y)
  • edit in main.lua at line 983
    [2.3311]
    [2.3311]
    y = y+15