From e4e3ee77aa01f9b6e7592306ebfa9f123a60c624 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Wed, 6 Jun 2012 13:59:37 -0700 Subject: Do not create any tags or shapes with width or height of 0. Signed-off-by: Nivesh Rajbhandari --- js/tools/FillTool.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/tools/FillTool.js') 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, { // Called by modifier tool base's HandleLeftButtonDown after updating selection (if needed) startDraw: { value: function(event) { + this.drawData = null; this.isDrawing = true; if(this._canColor && this.application.ninja.selectedElements.length) { -- cgit v1.2.3