IE needs translate(0,0) hack to animate right too. Fixes #870. (Fix found by oliverheilig, thanks!)

This commit is contained in:
danzel 2012-09-21 09:29:09 +12:00
parent 7b0deafb75
commit 801734b0c3

View File

@ -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)';
}