Files
vectorcraft/crates/engine
dotCooCoo 2bf98c9acd Gradient: an unfinished field value stays with the stop, point or gradient it was typed for
The Gradient panel's number fields kept an unfinished value when the
panel switched to another stop, midpoint, freeform point or object
with the same value. With stop 2 selected, typing `20+` into Opacity
and then selecting stop 3 left `20+` in the field, and typing `1` with
Enter gave stop 3 21% instead of 1%. Location, Angle, Aspect Ratio,
Repeats and a freeform point's Opacity and Spread did the same.

Each of these fields now passes what it edits to
`NumberField::edit_target`: the gradient behind the active proxy
(`Session::gradient_owner`), the selected objects and symbol part, and
the selected stop, midpoint or point. When that key changes, the field
drops the unfinished text and shows the new target's value.
`StopOwner` derives `Eq` and `Hash` so it can be part of the key.
2026-12-02 21:49:33 -08:00
..