remove tabs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user