aboutsummaryrefslogtreecommitdiff
path: root/js/tools/modifier-tool-base.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-03 12:03:16 -0700
committerNivesh Rajbhandari2012-04-03 12:03:16 -0700
commit4d132fcbde4540c2cac6c0df613940353e2690f6 (patch)
treeb5d9f42b1e63bb6be1015dc1b51f1465e3015239 /js/tools/modifier-tool-base.js
parent350d290d5fd0903289d55a7f4a6e643040e3d65e (diff)
downloadninja-4d132fcbde4540c2cac6c0df613940353e2690f6.tar.gz
Give user feedback about which element the Fill/InkBottle tools will act on.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-xjs/tools/modifier-tool-base.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index f58ecb53..a1812650 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -758,6 +758,11 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
758 snapManager.enableGridSnap( snapManager.gridSnapEnabledAppLevel() ); 758 snapManager.enableGridSnap( snapManager.gridSnapEnabledAppLevel() );
759 this.eventManager.removeEventListener( "toolOptionsChange", this, false); 759 this.eventManager.removeEventListener( "toolOptionsChange", this, false);
760 this.eventManager.removeEventListener( "toolDoubleClick", this, false); 760 this.eventManager.removeEventListener( "toolDoubleClick", this, false);
761
762 if (this._targetedElement) {
763 this._targetedElement.classList.remove("active-element-outline");
764 this._targetedElement = null;
765 }
761 } 766 }
762 } 767 }
763 }, 768 },