From 7313838f1f757f820623b7e86e13c3cbe867f534 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 30 Jun 2006 15:48:50 +0000 Subject: [PATCH] Grid.js has two other tile.draw methods, which need to now use the this.alpha flag. git-svn-id: http://svn.openlayers.org/trunk/openlayers@841 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 7ec3508794..d85129bf72 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -200,7 +200,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { bounds.top = bounds.top + deltaLat; position.y = position.y + deltaY; var newTile = this.addTile(bounds, position); - newTile.draw((this.params.TRANSPARENT == 'true')); + newTile.draw(this.alpha); newRow.append(newTile); } @@ -234,7 +234,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { bounds.right = bounds.right + deltaLon; position.x = position.x + deltaX; var newTile = this.addTile(bounds, position); - newTile.draw((this.params.TRANSPARENT == 'true')); + newTile.draw(this.alpha); if (prepend) { row = row.prepend(newTile);