Roadmap 0.13, Fixes

FX.825 MarkupCraft: lasso selection with Select (press and drag on an empty spot), plus a Drag to select setting

  • Fix
  • Built · in the lab
  • MarkupCraft

What was wrong: the lasso was copied into MarkupCraft's a Discord member folder in 0.4 (lasso-core.js) but never imported, so it shipped unused in every release up to 0.12.1. The 0.4 and 0.5 notes said "Not wired"; later notes stopped mentioning it. MarkupCraft only had the rectangle.

What changed: with Select, press and drag on an empty spot draws a freehand lasso. Drag to the right first takes markups wholly inside; to the left first also takes markups it touches; Space while dragging switches to a fence (markups the line crosses). Shift adds, Esc drops the drag. Hits use each markup's real drawing (geom.js outlineOf: paths flattened, text/picture boxes, filled shapes count as areas), not just its box. New setting Settings > Drag to select: Lasso (default) | Rectangle, with a hint saying what each does. Files: draw-ui.js, pointer-ui.js, keys-ui.js, paint-ui.js, geom.js, settings.inc, settings-panel-ui.js, markupcraft.js, lang/en.json.

Tested: tools/markupcraft-test/browser-lasso.mjs against /lab, 9/9 (window, crossing, fence, Shift, Esc, Rectangle setting, saved, no console errors); bin/test-markupcraft.mjs 606/1 (the 1 is the Python add-on's missing lang keys, already failing). Untested: touch/pen input, other locales (the new strings are English only until the lang round).

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.