mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
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.