experiment: only show drawing borders when they can be edited
[?]
May 15, 2022, 9:45 PM
2FMZNSD7CRDVUXQ7XAHE56F45FFKHTFLHHZVWJ3BESVNZJ2CNVUQCDependencies
- [2]
ZD63LJ2Tbugfix: keep the click to create a new drawing from creating a new shape in the drawing - [3]
XX7G2FFJintermingle freehand line drawings with text - [4]
K6HMLFLZcolor close to drawing - [5]
JVRL5TWLstore device-independent coordinates inside drawings - [*]
OTIBCAUJlove2d scaffold
Change contents
- replacement in main.lua at line 91
love.graphics.setColor(0.75,0.75,0.75)love.graphics.rectangle('line', 16,line.y, drawingw,pixels(line.h))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) thenlove.graphics.setColor(0.75,0.75,0.75)love.graphics.rectangle('line', 16,line.y, drawingw,pixels(line.h))end