mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
object.createObjectMosaic read columns and rows with as_u64 and fell back to 10 for anything else, so 2.5, -3 or "4" made a 10 x 10 mosaic and reported success. Transform Each read reference and seed the same way (a reference of 2.5 used the center point, and a seed of 7.5 used the default seed), and Rearrange All Artboards cut 1.5 columns to 1 and read "1" as the default 2. These five parameters now take a whole number, written 4 or 4.0 as the Rearrange All Artboards dialog sends it. A fraction or a negative number is refused with "`columns` must be a whole number", the message object.slice.divide gives. A string or another value that is not a number is refused with the check_numbers error. The command then changes nothing. The existing ranges stay: 1 to 1000 mosaic tiles across and down, a reference of at most 8, and 1 to the artboard count of columns. Docs: docs/mcp.md, docs/target-app-parity.md.