mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 07:13:46 +00:00
transparency.makeOpacityMask read `clip` and `invert` with bool_or, transparency.setOpacityMask read `clip`, `invert`, `disabled` and `linked` with as_bool, and the New Opacity Masks and page toggles read `value` with bool_or, so a value of the wrong type was dropped: "clip": "false" made a clipping mask, "invert": "yes" next to another flag was ignored, and "value": "on" toggled the page knockout group. They are now read with switch_or, and such a value is an error that names the param, before anything changes. Omitting a param or giving null keeps its default.