aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 8c3a9a25..a0d5bc26 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -598,11 +598,8 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
598 this.mouseUpHitRec = DrawingToolBase.getUpdatedSnapPoint(point.x, point.y, do3DSnap, this.mouseDownHitRec); 598 this.mouseUpHitRec = DrawingToolBase.getUpdatedSnapPoint(point.x, point.y, do3DSnap, this.mouseDownHitRec);
599 if (this._mouseDownHitRec && this._mouseUpHitRec) 599 if (this._mouseDownHitRec && this._mouseUpHitRec)
600 { 600 {
601 data = this.getDrawingData(event); 601 this.modifyElements({pt0:this._mouseDownHitRec.calculateElementScreenPoint(),
602 if(data) 602 pt1:this._mouseUpHitRec.calculateElementScreenPoint()}, event);
603 {
604 this.modifyElements({pt0:data.mouseDownPos, pt1:data.mouseUpPos}, event);
605 }
606 } 603 }
607 } 604 }
608 } 605 }