Files
vectorcraft/docs
dotCooCoo f5456410b2 Recolor Artwork: Undo Changes and Redo Changes step through the dialog's own color edits
Two buttons beside the Color Theme Picker go back and forward one color
edit made in the open dialog: the rows, Colors, Method, the Preserve
options, Limit to Library, the harmony rule, Global Adjust, the Color
Theme Picker's picks and the Prominent Colors weights. The art previews
each step. The dialog's history is separate from the document's: OK
still records one undo step and Cancel discards the edits with their
history. Each opening starts with nothing to undo, as the help page
describes (https://helpx.adobe.com/illustrator/desktop/manage-colors/modify-colors/recolor-options-overview.html).

VectorCraft's own rules: a change is one step once the pointer is
released, so a drag is one step; Reset is a step of its own; a new edit
after Undo Changes leaves nothing to redo; a button with no step to go
to is disabled; the dialog keeps at most 64 steps and 4 MiB of them.

ui.recolorUndo and ui.recolorRedo run the buttons and return
{changed, canUndo, canRedo}.
2026-11-17 14:11:12 -08:00
..
…