From cd0c9ff8a50b00d56b9ea66a533d0f5c32bf19ef Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Tue, 14 Jan 2014 17:18:51 +0200 Subject: [PATCH] position the hack absolutely --- src/layer/tile/GridLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer/tile/GridLayer.js b/src/layer/tile/GridLayer.js index 7641d284..4102a052 100644 --- a/src/layer/tile/GridLayer.js +++ b/src/layer/tile/GridLayer.js @@ -200,7 +200,7 @@ L.GridLayer = L.Layer.extend({ if (this._zoomAnimated) { // a pretty funny hack - Safari bugs out with HW-acceleration when you pan to the right // and there are no elements in the top left corner of the tile container, this fixes it - var hack = L.DomUtil.create('div', 'leaflet-hack leaflet-tile-loaded', this._tileContainer); + var hack = L.DomUtil.create('div', 'leaflet-hack leaflet-tile leaflet-tile-loaded', this._tileContainer); L.DomUtil.setTransform(hack, null, null, true); }