diff options
Diffstat (limited to 'js/tools/drawing-tool.js')
-rwxr-xr-x | js/tools/drawing-tool.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/drawing-tool.js b/js/tools/drawing-tool.js index 0cbb924f..f587bcd5 100755 --- a/js/tools/drawing-tool.js +++ b/js/tools/drawing-tool.js | |||
@@ -151,9 +151,9 @@ exports.DrawingTool = Montage.create(ToolBase, { | |||
151 | this._currentDY = point.y - this._currentY; | 151 | this._currentDY = point.y - this._currentY; |
152 | 152 | ||
153 | this.downPoint.x += this._currentDX; | 153 | this.downPoint.x += this._currentDX; |
154 | this.downPoint.y += this._currentDY; | 154 | this.downPoint.y += this._currentDY; |
155 | this.currentX += this._currentDX; | 155 | this.currentX += this._currentDX; |
156 | this.currentY += this._currentDY; | 156 | this.currentY += this._currentDY; |
157 | 157 | ||
158 | DrawingToolBase.draw2DRectangle(this.downPoint.x,this.downPoint.y,this.currentX - this.downPoint.x,this.currentY - this.downPoint.y); | 158 | DrawingToolBase.draw2DRectangle(this.downPoint.x,this.downPoint.y,this.currentX - this.downPoint.x,this.currentY - this.downPoint.y); |
159 | } else { | 159 | } else { |