diff options
author | hwc487 | 2012-04-26 14:27:09 -0700 |
---|---|---|
committer | hwc487 | 2012-04-26 14:27:09 -0700 |
commit | ee07f71e9e6c9219e02738c77fb038bece2e03b6 (patch) | |
tree | ae2608784ebffdcaa897ca2719d8dc08ef9e97c2 /js/mediators/keyboard-mediator.js | |
parent | 37f2d5230175c0fb9a4792f5e3d804f7604442e1 (diff) | |
parent | 62cd8d643ce69b7f38295fad511a4b6d3d4dd638 (diff) | |
download | ninja-ee07f71e9e6c9219e02738c77fb038bece2e03b6.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
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; |