Declaring inRange variable. No functional change.
This commit is contained in:
1 parent
f6773d32c9
commit
6dc36e90ac
1 file changed
+1
-1
@@ -132,7 +132,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
this.translate(this.xOffset, 0);
|
||||
return true;
|
||||
} else {
|
||||
inRange = this.translate(left - this.left + this.xOffset, top - this.top);
|
||||
var inRange = this.translate(left - this.left + this.xOffset, top - this.top);
|
||||
if (!inRange) {
|
||||
// recenter the coordinate system
|
||||
this.setExtent(extent, true);
|
||||
|
||||
Reference in new issue
Block a user