experiment: only show drawing borders when they can be edited

[?]
May 15, 2022, 9:45 PM
2FMZNSD7CRDVUXQ7XAHE56F45FFKHTFLHHZVWJ3BESVNZJ2CNVUQC

Dependencies

  • [2] ZD63LJ2T bugfix: keep the click to create a new drawing from creating a new shape in the drawing
  • [3] XX7G2FFJ intermingle freehand line drawings with text
  • [4] K6HMLFLZ color close to drawing
  • [5] JVRL5TWL store device-independent coordinates inside drawings
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • replacement in main.lua at line 91
    [3.426][3.3:48](),[3.48][2.3:77]()
    love.graphics.setColor(0.75,0.75,0.75)
    love.graphics.rectangle('line', 16,line.y, drawingw,pixels(line.h))
    [3.426]
    [3.500]
    local pmx,pmy = love.mouse.getX(), love.mouse.getY()
    if pmx > 16 and pmx < 16+drawingw and pmy > line.y and pmy < line.y+pixels(line.h) then
    love.graphics.setColor(0.75,0.75,0.75)
    love.graphics.rectangle('line', 16,line.y, drawingw,pixels(line.h))
    end