mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 10:46:46 +00:00
In a CMYK document the Fill Color and Stroke Color tolerances run from 0 to 100 and measure the Euclidean distance between the C, M, Y and K percentages; RGB, Gray and Lab colors are converted to CMYK. RGB documents keep the 0 to 255 RGB distance. The panel's fields take the range of the active document. A tolerance above 100 set in an RGB document is kept and applies as 100 while a CMYK document is active. magicWand.set now returns an error for a tolerance that is out of range or not a number, and for a switch that is not true or false, and then changes no setting, reset included; before, it clamped the values and applied reset first.