remove leftover code

This commit is contained in:
Vladimir Agafonkin 2014-01-27 18:21:06 +02:00
parent 187d9c2368
commit 02d5896740
2 changed files with 1 additions and 10 deletions

5
dist/leaflet.css vendored
View File

@ -150,11 +150,6 @@
opacity: 1;
}
.leaflet-hack {
width: 1px;
height: 1px;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);

View File

@ -195,11 +195,7 @@ L.GridLayer = L.Layer.extend({
this._tilesToLoad = 0;
this._tilesTotal = 0;
var front = this._tileContainer;
front.innerHTML = '';
// hack that prevents hw layers "stretching" when loading new tiles
this._tileContainer.innerHTML = '';
if (this._zoomAnimated && e && e.hard) {
this._clearBgBuffer();