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