IE needs translate(0,0) hack to animate right too. Fixes #870. (Fix found by oliverheilig, thanks!)
This commit is contained in:
parent
7b0deafb75
commit
801734b0c3
@ -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)';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user