From c73aab2c209fb5d1cdf08d1e9e7338ca5181ee10 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 1 Jun 2026 21:19:26 -0400 Subject: [PATCH] pen tool: Illustrator parity foundation (Direct Select + cursor + Shift constrain) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New Direct Selection tool (A) as a separate palette button, distinct from the regular Select tool. Anchors and handles only appear when Pen or Direct Select is the effective tool, matching Illustrator's V/A split. - Cmd/Ctrl temporary toggle: holding the modifier from any non-Pen tool flips the effective tool to Direct Selection so a quick anchor tweak doesn't require dropping the current tool; release restores it. - Hover cursor feedback on pen/direct-select: shows + when over the end of an open path, - over an existing anchor (delete-adjacent), ✕ near the start to close, default crosshair otherwise. - Shift constrains pen segments to 0/45/90 degrees while drawing and while previewing the next click, matching Illustrator's constrain. Foundation for the multi-anchor select + drag-segment + continue-path endpoint work that follows. --- src/index.html | 182 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 148 insertions(+), 34 deletions(-) diff --git a/src/index.html b/src/index.html index cecb5f1..c96d74a 100644 --- a/src/index.html +++ b/src/index.html @@ -4031,7 +4031,8 @@