slightly less strange now that we have the same two ways to move points as any other operation
[?]
May 15, 2022, 6:32 AM
SNDZOK6QJUASKYLYBHIATA7WXPCPZTEYEWA63I4H7HH3JT3B4U6ACDependencies
- [2]
WDWXNW7Vslightly strange way to move points - [3]
H7OEU6WPexperimental approach to combining keyboard and mouse while drawing - [4]
EFMLTMZGbugfix: restrict strokes to the drawing they started in - [5]
XX7G2FFJintermingle freehand line drawings with text - [6]
U76D4P36fix a typo - [7]
KVHUFUFVreorg - [*]
OTIBCAUJlove2d scaffold - [*]
ZD63LJ2Tbugfix: keep the click to create a new drawing from creating a new shape in the drawing - [*]
JCSLDGAHbeginnings of support for multiple shapes
Change contents
- edit in main.lua at line 132[10.471][11.1570]
elseif drawing.pending.mode == 'move' thenlocal mx,my = coord(x-16), coord(y-drawing.y)drawing.pending.target_point.x = mxdrawing.pending.target_point.y = my - edit in main.lua at line 152
if current_mode == 'move' thencurrent_mode = previous_modeprevious_mode = nilreturnend - edit in main.lua at line 157[11.1626][11.1626]
if current_mode == 'move' thencurrent_mode = previous_modeprevious_mode = nilreturnend - replacement in main.lua at line 549
drawing.pending = {target_point=p}drawing.pending = {mode=current_mode, target_point=p}lines.current = drawingendelseif love.mouse.isDown('1') and chord == 'v' thenlocal drawing,p = select_point_at_mouse()if drawing thenprevious_mode = current_modecurrent_mode = 'move'drawing.pending = {mode=current_mode, target_point=p}