diff options
author | hwc487 | 2012-04-27 13:53:14 -0700 |
---|---|---|
committer | hwc487 | 2012-04-27 13:53:14 -0700 |
commit | b460ea23025d9d5067dc78e2ae97c71d0dce2d13 (patch) | |
tree | 67c3b549d83c490364ed4a4c0dc6304106595b69 /js/mediators/keyboard-mediator.js | |
parent | e73fba18b095f0c270f5d954e5993c155b488c73 (diff) | |
parent | 917668dbd753d69b346cb9fd2e665fbe257f5311 (diff) | |
download | ninja-b460ea23025d9d5067dc78e2ae97c71d0dce2d13.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Canvas-interaction
Diffstat (limited to 'js/mediators/keyboard-mediator.js')
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index 79967799..f8934669 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -180,7 +180,7 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | // Shortcut for Eyedropper Tool is I | 182 | // Shortcut for Eyedropper Tool is I |
183 | if(evt.keyCode === Keyboard.I ) { | 183 | if(evt.keyCode === Keyboard.I && !(evt.ctrlKey || evt.metaKey)) { |
184 | evt.preventDefault(); | 184 | evt.preventDefault(); |
185 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[12]}); | 185 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[12]}); |
186 | return; | 186 | return; |