more lightweight; select just the stroke at the mouse
[?]
May 12, 2022, 5:15 AM
MNWHXPBL23TOI45LPF7ZECXSURCD2TRLM2EOFNBKFNHIWWKDQWCQCDependencies
- [2]
G77XIN7Mselecting a stroke - [3]
TRCAEE2Aclip drawings inside the border - [4]
QU7NHFOVshow cursor - [5]
EFMLTMZGbugfix: restrict strokes to the drawing they started in - [6]
Z2CJVAPVlighter border for figures - [7]
OTIBCAUJlove2d scaffold - [8]
6LJZN727handle chords - [9]
IZZVOCLBconfirm that we have access to all of the love API - [10]
XX7G2FFJintermingle freehand line drawings with text
Change contents
- edit in main.lua at line 7
mode = '' - replacement in main.lua at line 47
if shape.selected thenif on_freehand(love.mouse.getX(),love.mouse.getY(), shape) then - replacement in main.lua at line 81
if love.mouse.isDown('1') and mode == 'draw' thenif love.mouse.isDown('1') then - edit in main.lua at line 100
mode = 'grab' - edit in main.lua at line 105
for _,shape in ipairs(drawing.shapes) doif on_freehand(x,y, shape) thenshape.selected = truereturnendend - edit in main.lua at line 108
mode = 'draw'