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/modifier-tool-base.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/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; |