mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 15:57:49 +00:00
A required index given as something other than a whole number of 0 or more, such as "3", 2.5, -1 or true, was reported as missing: `anchor` of path.setHandle, path.moveAnchor and text.setPathHandle, `segment` of path.insertAnchor, and `to` of artboard.reorder, library.moveGroup and graphicStyle.move. Each now refuses it with "`anchor` must be a whole number", naming the key; left out or null, it is still missing. An optional `subpath` of path.appendAnchor, path.close and path.reverse given that way was read as left out, so the command extended, closed or reversed the default subpath (path.reverse reversed every subpath). The `artboard` of the ruler origin commands answered "index out of range" for such a value and for null. Both now refuse such a value with the same message and change nothing. A null `artboard` is artboard 0, as one left out is; a whole number past the artboards is still out of range.