xd-plugin icon indicating copy to clipboard operation
xd-plugin copied to clipboard

Incorrect spec values with shapes that have borders applied

Open metalhaze opened this issue 6 years ago • 1 comments

In Adobe XD, the spec lines that appear when I hold ALT tell me that this shape is 16px away from the left-hand side. However, the spec that gets generated from Inker8 says that the space is 17px.

How is Inker handling spacing when borders are applied to shapes?

Screen Shot 2019-06-13 at 9 34 53 AM image

metalhaze avatar Jun 13 '19 13:06 metalhaze

Well, inker8 extractsthe meta info from the SVG file that Adobe XD exported, it might has precision problems if Adobe XD exported a SVG file that is not exactly the same as design or browser layout the SVG file not exactly the same.

zaaack avatar Jun 14 '19 01:06 zaaack