Skip to content
Browse files

IE needs translate(0,0) hack to animate right too. Fixes #870. (Fix f…

…ound by oliverheilig, thanks!)
  • Loading branch information...
1 parent 7b0deaf commit 801734b0c38aa8b56c6a3f0c115271d3e51205ed @danzel committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/anim/Map.ZoomAnimation.js
View
2 src/map/anim/Map.ZoomAnimation.js
@@ -62,7 +62,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
clearTimeout(this._clearTileBgTimer);
//dumb FireFox hack, I have no idea why this magic zero translate fixes the scale transition problem
- if (L.Browser.gecko || window.opera) {
+ if (L.Browser.gecko || window.opera || L.Browser.ie3d) {
tileBg.style[transform] += ' translate(0,0)';
}

0 comments on commit 801734b

Please sign in to comment.
Something went wrong with that request. Please try again.