aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/keyboard-mediator.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-26 17:06:14 -0700
committerValerio Virgillito2012-04-26 17:06:14 -0700
commita0ba2437965f486667d07bba60c031a11d778e6a (patch)
tree7f8f990c28fbb6f5659012ada11ff5dd21ff56a2 /js/mediators/keyboard-mediator.js
parenta0e730636083eff0c757cd9e16698e3b8e0066c1 (diff)
parentb03c3b087297f471840ab8595d5aa8bd0249a742 (diff)
downloadninja-a0ba2437965f486667d07bba60c031a11d778e6a.tar.gz
Merge branch 'refs/heads/master' into stage-document-architecture
Diffstat (limited to 'js/mediators/keyboard-mediator.js')
-rwxr-xr-xjs/mediators/keyboard-mediator.js2
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;