remove unnecessary semicolon and unused variable. Non functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -479,7 +479,6 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
},
|
},
|
||||||
// transform while dragging
|
// transform while dragging
|
||||||
onDrag: function(feature, pixel) {
|
onDrag: function(feature, pixel) {
|
||||||
var geom = feature.geometry;
|
|
||||||
if(feature === control.box) {
|
if(feature === control.box) {
|
||||||
control.transformFeature({center: control.center});
|
control.transformFeature({center: control.center});
|
||||||
control.drawHandles();
|
control.drawHandles();
|
||||||
@@ -567,7 +566,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
geom._handle = null;
|
geom._handle = null;
|
||||||
geom._rotationHandle && geom._rotationHandle.destroy();
|
geom._rotationHandle && geom._rotationHandle.destroy();
|
||||||
geom._rotationHandle = null;
|
geom._rotationHandle = null;
|
||||||
};
|
}
|
||||||
this.box.destroy();
|
this.box.destroy();
|
||||||
this.box = null;
|
this.box = null;
|
||||||
this.layer = null;
|
this.layer = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user