Removing unused minX and maxX.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user