diff options
author | Valerio Virgillito | 2012-06-06 17:02:59 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-06 17:02:59 -0700 |
commit | 47e0e1f047e83b71c3f86812a45d33904201cc7a (patch) | |
tree | d5f9fbc30dce114f630114c50becc782d2e78090 /js/tools/modifier-tool-base.js | |
parent | 1ab7267ede9f4691caf9ca09940b2bac67badbcd (diff) | |
parent | e4e3ee77aa01f9b6e7592306ebfa9f123a60c624 (diff) | |
download | ninja-47e0e1f047e83b71c3f86812a45d33904201cc7a.tar.gz |
Merge pull request #276 from mqg734/DrawingTools
Do not create any tags or shapes with width or height of 0.
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index 6aea77aa..6c569f0a 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -451,6 +451,8 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
451 | 451 | ||
452 | startDraw: { | 452 | startDraw: { |
453 | value: function(event) { | 453 | value: function(event) { |
454 | this.drawData = null; | ||
455 | |||
454 | if(this._target) | 456 | if(this._target) |
455 | { | 457 | { |
456 | this.isDrawing = true; | 458 | this.isDrawing = true; |