Open AndrewLeedham opened 5 years ago
The outputted viewBox and path coordinates to be relative to the Artboard.
The outputted viewBox and path coordinates are relative to the whole Document.
.xd
Demo: https://codesandbox.io/s/k9o047r413 Shows 2 identical artboards outputting different markup.
Thanks for the report.
It's normal behaviour, converter use values provided in .xd. I will take a look what can I do. Anyway PRs are welcome!
Expected Behavior
The outputted viewBox and path coordinates to be relative to the Artboard.
Actual Behavior
The outputted viewBox and path coordinates are relative to the whole Document.
Steps to Reproduce the Problem
.xd
file with multiple Artboard'sDemo: https://codesandbox.io/s/k9o047r413 Shows 2 identical artboards outputting different markup.
Specifications