Skip to content

Commit

Permalink
capital case for backface tile hack (just in case); add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Nov 12, 2013
1 parent 3797ac3 commit edfa2ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layer/tile/TileLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,10 @@ L.TileLayer = L.Class.extend({
if (L.Browser.ielt9 && this.options.opacity !== undefined) {
L.DomUtil.setOpacity(tile, this.options.opacity);
}
// without this hack, tiles disappear after zoom on Chrome for Android
// https://github.com/Leaflet/Leaflet/issues/2078
if (L.Browser.mobileWebkit3d) {
tile.style.webkitBackfaceVisibility = 'hidden';
tile.style.WebkitBackfaceVisibility = 'hidden';
}
return tile;
},
Expand Down

0 comments on commit edfa2ac

Please sign in to comment.