mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
app.showColorPicker answers the run between slices, when the active color settings hold the profiles of the document the window shows. A pick in the run's own document, made or assigned other profiles by the script, was converted to that document's RGB space and separated to CMYK through the window's profiles instead. The dialog now carries the RGB and CMYK profiles assigned to the run's active document when the picker opens. On OK a display-sRGB pick (hex, sample, HSB) is taken into that document's RGB space, RGB values typed into the picker convert from the shown RGB profile to the document's, and an RGB pick in a CMYK document separates through the document's CMYK profile.