diff options
author | Valerio Virgillito | 2012-04-26 17:10:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-26 17:10:03 -0700 |
commit | 6c1aa27b7753bc9007514859b42160fae265740d (patch) | |
tree | f9a01321bafbc8baf91b0d8b0f6c43ddf5453c5d /js/tools/ToolBase.js | |
parent | 7968f3a9cf56392c914d6bd44cc90145b6d807a3 (diff) | |
parent | a0ba2437965f486667d07bba60c031a11d778e6a (diff) | |
download | ninja-6c1aa27b7753bc9007514859b42160fae265740d.tar.gz |
Merge branch 'stage-document-architecture' of https://github.com/mencio/ninja-internal into serialization
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 | ||