remove tabs

This commit is contained in:
fredj
2012-01-24 12:13:41 +01:00
parent ac1eee6ac2
commit 2bd9721fd8
+9 -9
View File
@@ -233,7 +233,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
deactivated = true; deactivated = true;
} }
if (deactivated) { if (deactivated) {
this.unsetFeature(); this.unsetFeature();
} }
return deactivated; return deactivated;
}, },
@@ -317,14 +317,14 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
* If the control is active, it will be deactivated first. * If the control is active, it will be deactivated first.
*/ */
unsetFeature: function() { unsetFeature: function() {
if (this.active) { if (this.active) {
this.deactivate(); this.deactivate();
} else { } else {
this.feature = null; this.feature = null;
this.rotation = 0; this.rotation = 0;
this.scale = 1; this.scale = 1;
this.ratio = 1; this.ratio = 1;
} }
}, },
/** /**