Closed dlockhart closed 6 years ago
I think we should set transform-origin
directly to the value we want in this case: center
.
Agreed, I've updated the code.
I'm running this through tests at the moment. It'll probably be later tonight by the time results are in so I'll post an update tomorrow.
http://go/polymerelements_iron-iconset-svg_pull_81 All the tests there are the same as others that failed in the same run, so I'm going to call this ok.
This fixes #80 and an issue with icons in RTL being mirrored around the incorrect origin on browsers which support native shadow DOM.
(sample code in #80)
Before:
After: