mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 22:28:09 +00:00
The color management commands read their params with helpers that fell back to the default for a value of the wrong type, so "bpc": "no" kept the old setting, "on": "true" toggled the view and "convert": "no" converted the colors. They now go through switch_or and text_param: such a value is an error and nothing changes. Omitting a param or giving null keeps its default. - edit.colorSettings: rgb, cmyk, intent, bpc - file.documentColorMode (and its alias): convert, intent, grays, checked before the early return for the current mode; PDF import's grays reads the same way - color.convert: to, intent - color.loadProfile: path; color.removeProfile: name - view.proofSetup: target, intent, simulatePaper, proof - view.proofColors and view.overprintPreview: on - view.separationsPreview: on, only, toggle, and plates, which must be an array of plate names - swatch.setSpot: name, spot