From 4784ed1acd991d2cb967cfe7c499e89cb3342b41 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Sun, 25 Jun 2006 11:41:04 +0000 Subject: [PATCH] Disable alpha PNG hack in WMS tiles from r605 and r681... it just kills IE6 when used in earnest. git-svn-id: http://svn.openlayers.org/branches/openlayers/1.0@731 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile/Image.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index fa201ed675..6a386f8c25 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -36,7 +36,9 @@ OpenLayers.Tile.Image.prototype = /** */ draw:function(transparent) { - if (transparent) { + if (false) { // don't actually use the alpha PNG hack right now + // it has a fiercely bad effect on IE6's performance + // if (transparent) { this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, this.position, this.size,