vectorcraft/crates/tools/src
EthanSuquet 86de124cc8 Fix #322: dragged direction handles take Shift and smart guides
Dragging a direction handle with Direct Selection or the Anchor Point tool
sent the pointer position straight to path.setHandle: Shift did nothing and
the handle never snapped, while the Pen already constrains the handles it
pulls out.

guides::snap_handle places a dragged handle: with Shift at a multiple of
45° from its anchor (the Pen's constraint, keeping the dragged length),
otherwise snapped as a drawn point is (smart guides, the grid, pixels).
Both tools use it and show the smart guides while the handle moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 03:25:27 +07:00
..
distort M8.11: Perspective grid widgets: ground-level points move the grid, separate extents, cell size widget, screen-fixed Plane Switching Widget with 1-4 keys 2026-10-06 12:16:39 +07:00
draw2 Fix #322: dragged direction handles take Shift and smart guides 2026-10-08 03:25:27 +07:00
xform Fix #346: Artboard tool: Alt-drag duplicates the artboard 2026-10-08 03:22:50 +07:00
bbox.rs Rename DrawCraft → VectorCraft: crates (vectorcraft-*), apps, binaries, types, env vars, docs, examples (.vectorcraft); old .drawcraft files and preferences still load. Fix: text bounds exact after opening a file; selection no longer marks a document modified (dirty = content differs from the saved document). Screenshots and renders regenerated. 2026-10-01 14:30:09 -04:00
builder.rs Fix #206: Live Paint treats every path as an edge, open lines included 2026-10-07 02:08:39 +07:00
catalog.rs Fix #122: Mirror & Cut, Line Cut and Rectangle Cut tools 2026-10-06 00:42:26 +07:00
corners.rs Fix #291: live corners stay circular when a rectangle is scaled unevenly 2026-10-07 20:25:41 +07:00
cut.rs Fix #122: Mirror & Cut, Line Cut and Rectangle Cut tools 2026-10-06 00:42:26 +07:00
direct.rs Fix #322: dragged direction handles take Shift and smart guides 2026-10-08 03:25:27 +07:00
distort.rs M8.14: Type and symbols in perspective are really projected and stay editable; attachments survive copies 2026-10-06 12:10:00 +07:00
draw2.rs Pen: Auto Add/Delete reuses the Add/Delete Anchor Point tools' hit tests (review of #312) 2026-10-08 03:22:31 +07:00
extra.rs M2.9: Shaper tool — rough rectangles, ellipses, triangles/polygons/diamonds and lines become clean live shapes (geom::recognize), squares/circles snap; a scribble deletes the objects it crosses 2026-10-02 09:10:44 -04:00
guides.rs Fix #322: dragged direction handles take Shift and smart guides 2026-10-08 03:25:27 +07:00
lib.rs Fix #311: Pen: Auto Add/Delete on a selected path 2026-10-08 03:22:31 +07:00
meshblend.rs M8.17: Edit envelopes on the canvas: Edit Contents, mesh points and handles, Control bar 2026-10-06 12:16:59 +07:00
meshedit.rs M8.17: Edit envelopes on the canvas: Edit Contents, mesh points and handles, Control bar 2026-10-06 12:16:59 +07:00
params.rs M3.98: radial annotator extent ellipse, aspect handle and off-centre focal point 2026-10-05 04:43:43 +07:00
pen.rs Pen: Auto Add/Delete reuses the Add/Delete Anchor Point tools' hit tests (review of #312) 2026-10-08 03:22:31 +07:00
place.rs M4.25: Drop files on the canvas to place them; several placed files load the place cursor 2026-10-05 08:42:30 +07:00
printtiling.rs M4.80: Print Tiling tool and View > Show Print Tiling 2026-10-05 17:26:59 +07:00
select.rs Fix #252: area type resizes its frame with the mouse 2026-10-07 13:02:55 +07:00
settings.rs M8.3: Liquify Tool Options dialogs, pen pressure and Brush Affects 2026-10-06 10:50:16 +07:00
shape.rs Shape tools: Space moves Arc, Spiral and the grids too, through one helper (review of #304) 2026-10-08 03:22:32 +07:00
slice.rs M4.89: Slice and Slice Selection tools draw, pick, move, resize and delete slices 2026-10-05 12:52:15 +07:00
symbolism.rs Rename DrawCraft → VectorCraft: crates (vectorcraft-*), apps, binaries, types, env vars, docs, examples (.vectorcraft); old .drawcraft files and preferences still load. Fix: text bounds exact after opening a file; selection no longer marks a document modified (dirty = content differs from the saved document). Screenshots and renders regenerated. 2026-10-01 14:30:09 -04:00
text.rs Merge pull request #253 from theironchef/fix/area-type-frame-offset 2026-10-07 10:55:41 +07:00
text_tests.rs Type tool: a drag across text that isn't being edited selects it 2026-10-06 19:24:22 -07:00
xform.rs M14.5: Preferences > Units drive every length the UI shows and reads 2026-10-05 07:43:41 +07:00