copy/paste bug

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1153 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-09 06:20:51 +00:00
parent 3d13e1f60d
commit bc6b2e690d

View File

@@ -153,7 +153,7 @@ OpenLayers.Layer.Grid.prototype =
this.shiftColumn(true);
} else if (tlViewPort.x < -this.tileSize.w * this.buffer) {
this.shiftColumn(false);
} else if (tlViewPort.y > -this.tileSize.w * (this.buffer - 1)) {
} else if (tlViewPort.y > -this.tileSize.h * (this.buffer - 1)) {
this.shiftRow(true);
} else if (tlViewPort.y < -this.tileSize.h * this.buffer) {
this.shiftRow(false);