mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
In a pixel document, or with Units set to Pixels, the root `width` and `height` were rounded to the chosen decimals, so a size below half the last decimal place was written as 0 while the `viewBox` kept a positive value. Both now keep enough digits to stay positive, and sizes that need more than 14 decimal places are written in scientific notation, so two tiny sides keep their proportions.