diff options
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index 07b28747..5f2d29be 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -456,6 +456,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
456 | { | 456 | { |
457 | this.isDrawing = true; | 457 | this.isDrawing = true; |
458 | this.application.ninja.stage.showSelectionBounds = false; | 458 | this.application.ninja.stage.showSelectionBounds = false; |
459 | this._updateTargets(); | ||
459 | 460 | ||
460 | if(this._canSnap) | 461 | if(this._canSnap) |
461 | { | 462 | { |
@@ -765,6 +766,11 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
765 | snapManager.enableGridSnap( snapManager.gridSnapEnabledAppLevel() ); | 766 | snapManager.enableGridSnap( snapManager.gridSnapEnabledAppLevel() ); |
766 | this.eventManager.removeEventListener( "toolOptionsChange", this, false); | 767 | this.eventManager.removeEventListener( "toolOptionsChange", this, false); |
767 | this.eventManager.removeEventListener( "toolDoubleClick", this, false); | 768 | this.eventManager.removeEventListener( "toolDoubleClick", this, false); |
769 | |||
770 | if (this._targetedElement) { | ||
771 | this._targetedElement.classList.remove("active-element-outline"); | ||
772 | this._targetedElement = null; | ||
773 | } | ||
768 | } | 774 | } |
769 | } | 775 | } |
770 | }, | 776 | }, |
@@ -793,7 +799,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
793 | { | 799 | { |
794 | this.target = this.application.ninja.currentDocument.documentRoot; | 800 | this.target = this.application.ninja.currentDocument.documentRoot; |
795 | } | 801 | } |
796 | this._updateTargets(); | 802 | // this._updateTargets(); |
797 | } | 803 | } |
798 | else | 804 | else |
799 | { | 805 | { |