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 <[email protected]>
This commit is contained in:
thePR0M3TH3ANandClaude Opus 4.7 committed 2026-05-22 07:33:30 -04:00
1 parent 5e44c9e2e4
commit cf006ce1aa
1 file changed
+21
+21
View File
@@ -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 —