remove tabs

This commit is contained in:
fredj
2012-01-24 12:13:41 +01:00
parent ac1eee6ac2
commit 2bd9721fd8

View File

@@ -233,7 +233,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
deactivated = true;
}
if (deactivated) {
this.unsetFeature();
this.unsetFeature();
}
return deactivated;
},
@@ -317,14 +317,14 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
* If the control is active, it will be deactivated first.
*/
unsetFeature: function() {
if (this.active) {
this.deactivate();
} else {
this.feature = null;
this.rotation = 0;
this.scale = 1;
this.ratio = 1;
}
if (this.active) {
this.deactivate();
} else {
this.feature = null;
this.rotation = 0;
this.scale = 1;
this.ratio = 1;
}
},
/**