diff options
author | Valerio Virgillito | 2012-04-26 15:33:48 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-26 15:33:48 -0700 |
commit | 238586be0df568c6804268d97bf9d3ef7cd33fda (patch) | |
tree | 582041d53a3d91ac50771849f3e4e26c85d69b81 /js/tools/ToolBase.js | |
parent | 01e17da83667b6ad808721687b2dd9b67f1812e6 (diff) | |
download | ninja-238586be0df568c6804268d97bf9d3ef7cd33fda.tar.gz |
Simplifying the getElement method from stage and adding an exclusion list to the new template
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/tools/ToolBase.js')
-rwxr-xr-x | js/tools/ToolBase.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/ToolBase.js b/js/tools/ToolBase.js index 69ac5727..f43b1b58 100755 --- a/js/tools/ToolBase.js +++ b/js/tools/ToolBase.js | |||
@@ -89,9 +89,9 @@ exports.toolBase = Montage.create(Component, { | |||
89 | 89 | ||
90 | if(this._canOperateOnStage) { | 90 | if(this._canOperateOnStage) { |
91 | if(event.shiftKey) { | 91 | if(event.shiftKey) { |
92 | this.application.ninja.selectionController.shiftSelectElement(this.application.ninja.stage.GetElement(event)); | 92 | this.application.ninja.selectionController.shiftSelectElement(this.application.ninja.stage.getElement(event)); |
93 | } else { | 93 | } else { |
94 | this.application.ninja.selectionController.selectElement(this.application.ninja.stage.GetElement(event)); | 94 | this.application.ninja.selectionController.selectElement(this.application.ninja.stage.getElement(event)); |
95 | } | 95 | } |
96 | } | 96 | } |
97 | 97 | ||