diff options
author | Kris Kowal | 2012-07-06 11:52:06 -0700 |
---|---|---|
committer | Kris Kowal | 2012-07-06 15:01:48 -0700 |
commit | 648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch) | |
tree | 8f0f55557bd0c47a84e49c1977c950645d284607 /js/tools/drawing-tool.js | |
parent | aedd14b18695d031f695d27dfbd94df5614495bb (diff) | |
download | ninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz |
Expand tabs
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 { |