Recolor Artwork: a removed color joins no saved color group

Save All Colors and OK on colors opened alone skipped only excluded rows,
so a row whose new color was removed on the Edit tab gave the new group
its first current color. Both now also skip rows with no new color, as
the wheel does, and Save All Colors is turned off when no such row is
left.
This commit is contained in:
dotCooCoo
2026-11-15 12:29:23 -08:00
parent 20413c6c3d
commit 0fb2c95c51
2 changed files with 33 additions and 5 deletions
+1 -1
View File
@@ -4582,7 +4582,7 @@ bar sits under the Edit tab's wheel: each row with a share is a part as wide as
the largest first. Dragging the edge between two parts moves width between them, and when the drag ends the widths
become the `weights` field, which moves the rows' current colors and previews the result. The New Color Group menu
beside the link button runs `swatch.newGroup` right away, as its own undo step: Save All Colors saves the new colors
of the rows that are not excluded, in row order, and Save Prominent Colors saves the bar's colors in the bar's order.
of the rows that are not excluded and still have one, in row order, and Save Prominent Colors saves the bar's colors in the bar's order.
```json
{"name":"run_command","arguments":{"command":"recolor.weigh","params":{"map":[{"from":["rgb 255 0 0","rgb 128 0 204"],"to":"#00ff00"},{"from":["rgb 0 0 255"],"to":"#ffff00"}],"weights":[1,1]}}}