Files
vectorcraft/crates/engine
dotCooCoo 626994effd Scripts: a text color assigned in a CMYK document is compared as the document stores it
Assigning fillColor or strokeColor on a text range compared the color as
given with the paint the characters have. In a CMYK document an RGB color
is stored as CMYK, so assigning the RGB color the text already stores ran
text.setRangeStyle again and recorded an undo step that changed nothing.
The comparison now converts the color through the text's own document
(its color mode and color settings), so the same assignment records no
step, and text in a background RGB document keeps an RGB color assigned
to it.

The text paint setters came with #9304.
2026-12-02 23:25:17 -08:00
..