3 Commits
Author SHA1 Message Date
Tanish Manku acb650a355 chore: merge main (colour picker, drawing-tool and start-up fixes) into the gradient tools; one colour picker (M1)
The fill's colour picker (the Tools panel's Fill square and every Fill swatch in
Properties) now starts with the fill's type (None, Solid, Linear, Radial,
Bitmap): Solid is main's picker as it was; a gradient shows its stop bar,
overflow, Linear RGB and focal point above the same swatches, mixer and hex,
which edit the picked stop. The separate Properties Colour section is gone.
Picker popups are named dialogs and the swatch grid a named control; the
accessibility audit covers the swatches state too. Help text, Drag::Width's
new fields and the guide pages are reconciled.
2026-11-12 17:23:26 -07:00
Tanish Manku b9b397d878 fix(engine): a gradient drag keeps a raw fill's id; tests for the colour panel, tool and exporters (M1)
paint.transform_fill no longer re-merges a raw fill: re-merging gave the shape
a new id after the first step of a drag, so the Gradient Transform tool lost
it in the editor's default (merge) drawing mode. The stop bar's edits are pure
functions now (add, move, remove, widest gap), tested; the tool's drags run
through real frames for linear, radial and bitmap fills; HTML canvas and SVG
export of spread, focal point, ellipse and linear RGB are checked.
2026-11-12 14:53:13 -07:00
Tanish Manku 120458c89f feat(ui): Colour panel gradients and the Gradient Transform tool (M1)
Properties gains a Colour section for the selected fill or the fill swatch:
type (solid, linear, radial, bitmap), a stop bar (click to add, drag to move,
drag off to remove; arrow keys and Delete on a focused stop), stop colour with
opacity and hex, overflow, Linear RGB and the focal point. The Gradient
Transform tool (F) draws Animate's handles on linear, radial and bitmap fills;
each drag is one paint.transform_fill step. Lock Fill for the Paint Bucket and
Brush. Screenshot states: gradient, gradientbucket.
2026-11-12 14:21:35 -07:00