Files
vectorcraft/crates
dotCooCoo 9d0935055c Gradient: keep the stop popover open after its own mode change and Undo
The stop popover closes when its gradient changes from outside, so that
its edits never reach a replacement gradient. Its Color mode menu runs
the mode command outside the popover's per-frame update, so the
converted stop looked like an outside change and the popover closed.
Undo and Redo of the popover's own edits closed it the same way. Two
gradient_stop_color_mode_menu tests failed on main for this reason.

- A mode command from the popover's menu counts as the popover's edit
  when the next history step lands. When the Color panel shows the
  picked mode and no step follows, the pick changed nothing and the
  exemption ends.
- The popover keeps the paints it owned before its later edits, each
  with the stop or point it edited then. Undo or Redo back to one of
  them keeps it open only on that same stop or point.
- A gradient from anywhere else still closes the popover.
2026-11-27 00:33:41 -08:00
..
…
…
…