diff options
author | Nivesh Rajbhandari | 2012-06-06 13:59:37 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-06 13:59:37 -0700 |
commit | e4e3ee77aa01f9b6e7592306ebfa9f123a60c624 (patch) | |
tree | a96013eff3ea3a977baa5daf999777a814afa65d /js/tools/InkBottleTool.js | |
parent | 18e212dca48066d1ddaca96875a3f40adcc859b6 (diff) | |
download | ninja-e4e3ee77aa01f9b6e7592306ebfa9f123a60c624.tar.gz |
Do not create any tags or shapes with width or height of 0.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/InkBottleTool.js')
-rwxr-xr-x | js/tools/InkBottleTool.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/InkBottleTool.js b/js/tools/InkBottleTool.js index dff0b0fa..c5640b10 100755 --- a/js/tools/InkBottleTool.js +++ b/js/tools/InkBottleTool.js | |||
@@ -65,6 +65,7 @@ exports.InkBottleTool = Montage.create(ModifierToolBase, { | |||
65 | // Called by modifier tool base's HandleLeftButtonDown after updating selection (if needed) | 65 | // Called by modifier tool base's HandleLeftButtonDown after updating selection (if needed) |
66 | startDraw: { | 66 | startDraw: { |
67 | value: function(event) { | 67 | value: function(event) { |
68 | this.drawData = null; | ||
68 | this.isDrawing = true; | 69 | this.isDrawing = true; |
69 | 70 | ||
70 | if(this._canColor && this.application.ninja.selectedElements.length) | 71 | if(this._canColor && this.application.ninja.selectedElements.length) |