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/FillTool.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/FillTool.js')
-rwxr-xr-x | js/tools/FillTool.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/FillTool.js b/js/tools/FillTool.js index 69807bc3..e08ec1da 100755 --- a/js/tools/FillTool.js +++ b/js/tools/FillTool.js | |||
@@ -70,6 +70,7 @@ exports.FillTool = Montage.create(ModifierToolBase, { | |||
70 | // Called by modifier tool base's HandleLeftButtonDown after updating selection (if needed) | 70 | // Called by modifier tool base's HandleLeftButtonDown after updating selection (if needed) |
71 | startDraw: { | 71 | startDraw: { |
72 | value: function(event) { | 72 | value: function(event) { |
73 | this.drawData = null; | ||
73 | this.isDrawing = true; | 74 | this.isDrawing = true; |
74 | 75 | ||
75 | if(this._canColor && this.application.ninja.selectedElements.length) { | 76 | if(this._canColor && this.application.ninja.selectedElements.length) { |