mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 20:34:22 +00:00
file.new refused a side over 163,830 pt, while artboard.new took larger artboards. Both now take each side more than 0 and at most 3,999,856 pt: the 4,000,000 pt the canvas reaches from the origin, less a 72 pt bleed on both sides. A side outside that range is refused with an error that names the limit in points and, when the document's units are not points, in those units, rounded down so the value shown is accepted. artboard.new now refuses a supplied width or height of 0 or less instead of making a 1 pt side, and refuses a size taken from a larger artboard. Saved and Recent presets are read with sides up to the new limit. Follows #6643.