Removing unused minX and maxX.

This commit is contained in:
tschaub
2012-01-03 10:28:25 -07:00
parent b844a3b11b
commit 519bf9a50a

View File

@@ -1671,7 +1671,6 @@ OpenLayers.Map = OpenLayers.Class({
x >= this.minPx.x + xRestriction ? Math.round(dx) : 0; x >= this.minPx.x + xRestriction ? Math.round(dx) : 0;
dy = y <= this.maxPx.y - yRestriction && dy = y <= this.maxPx.y - yRestriction &&
y >= this.minPx.y + yRestriction ? Math.round(dy) : 0; y >= this.minPx.y + yRestriction ? Math.round(dy) : 0;
var minX = this.minPx.x, maxX = this.maxPx.x;
if (dx || dy) { if (dx || dy) {
if (!this.dragging) { if (!this.dragging) {
this.dragging = true; this.dragging = true;