clean up
[?]
Jun 18, 2022, 6:16 AM
253TWKDAPJCUTRHXJCPF3Y3EMMMKIUV6PNBWQDLYLHACD6BBBOEACDependencies
- [2]
ALOY4663. - [3]
WPW3AVFSmore precise shape selection - [4]
TCNHUMIWone more known issue - [5]
ZTMRQZSWReadme - [6]
VHQCNMARseveral more modules - [7]
F3OOGMMEswitch freehand hotkey to eliminate conflict with search - [8]
LAW2O3NWextract variable Margin_left - [9]
HOSPP2ANcrisp font rendering - [10]
XNFTJHC4split keyboard handling between Text and Drawing - [11]
JFFUF5ALoverride mouse state lookups in tests - [12]
K2X6G75Zstart writing some tests for drawings - [13]
XRLJDW3Wcasting about for more helpers to extract.. - [14]
DRFE3B3Zmouse buttons are integers, not strings - [15]
BLWAYPKVextract a module - [16]
IDGP4BJZnew known issue with drawings - [17]
FS2ITYYHrecord a known issue - [18]
A2TQYJ6J.
Change contents
- edit in geom.lua at line 2
function geom.on_any_shape(x,y, drawing)for _,shape in ipairs(drawing.shapes) doassert(shape)if geom.on_shape(x,y, drawing, shape) thenreturn trueendendreturn falseend - edit in drawing.lua at line 6
Show_nearby = false - edit in drawing.lua at line 31
if Show_nearby thenlove.graphics.setColor(1,0.75,0.75)for y=0,127 dofor x=0,255 doif geom.on_any_shape(x,y, line) thenlove.graphics.circle('fill', Drawing.pixels(x)+Margin_left, Drawing.pixels(y)+line.y, 2)endendendend - edit in drawing.lua at line 373
if chord == 'C-a' thenShow_nearby = not Show_nearbyreturnend - edit in README.md at line 69
* There's a bug in freehand drawings (`ctrl+p` mode) that causes them to behighlighted even when the mouse is nowhere near them.