aboutsummaryrefslogtreecommitdiff
path: root/js/tools/modifier-tool-base.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-06 13:59:37 -0700
committerNivesh Rajbhandari2012-06-06 13:59:37 -0700
commite4e3ee77aa01f9b6e7592306ebfa9f123a60c624 (patch)
treea96013eff3ea3a977baa5daf999777a814afa65d /js/tools/modifier-tool-base.js
parent18e212dca48066d1ddaca96875a3f40adcc859b6 (diff)
downloadninja-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-xjs/tools/modifier-tool-base.js2
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;