From cf006ce1aa64ec8359f889f0554695a804af6a4e Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 22 May 2026 07:33:30 -0400 Subject: [PATCH] Add editor / tool UX improvements to TODO On-canvas resize handles for all layer types, a constraint that text-box resize never rescales the point size, and expanding the existing #textToolOptions panel like the pen-tool panel. Co-Authored-By: Claude Opus 4.7 --- TODO.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/TODO.md b/TODO.md index a03e29f..ba247a3 100644 --- a/TODO.md +++ b/TODO.md @@ -17,6 +17,27 @@ surface + canvas export, JSON round-trip). modules. Riskier: a logo eats into the error-correction budget, so it should nudge the ECC level up. Skippable. +## Editor / tool UX + +Small editor-usability improvements — no spec doc; scoped here. + +- **On-canvas resize handles.** Add draggable nodes on a selected layer's + edges and corners (text / shape / image / all layer types) so the user + can resize by dragging instead of typing into the W/H inputs. Corner + handles resize both axes (respecting the existing aspect-ratio lock + toggle); edge handles resize one axis. The handles live on the + `.freeLayer.selected` element and write back to the layer's `w` / `h` + (and `x` / `y` for top/left drags). +- **Text box resize must not rescale the text.** Resizing a `text` + layer's box changes only the area the text flows within — `fontSize` + (points) stays fixed. (Distinct from image/shape, where the content + scales with the box.) +- **Expand the Text tool panel.** `#textToolOptions` already exists but + is minimal (color + size). Build it out like `#penToolOptions` — + point size, font family, paragraph alignment, bold/italic — so text + styling is editable from the tool-options panel, not just the layer + panel. + ## Cleanup - **Delete `docs/TMDB_AUTOFILL_FEATURE.md`.** TMDB auto-fill was declined —