Skip to content

Commit

Permalink
remove tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Jan 24, 2012
1 parent ac1eee6 commit 2bd9721
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/OpenLayers/Control/TransformFeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
deactivated = true;
}
if (deactivated) {
this.unsetFeature();
this.unsetFeature();
}
return deactivated;
},
Expand Down Expand Up @@ -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;
}
},

/**
Expand Down

0 comments on commit 2bd9721

Please sign in to comment.