newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
897 stars 145 forks source link

Use getBoundingClientRect left/right #115

Closed themaxgross closed 4 years ago

themaxgross commented 5 years ago

MDN reports inconsistent support on mobile for getBoundingClientRect().width, but consistent for getBoundingClientRect().right and getBoundingClientRect.left().

Fixes errors experienced by @superkazi