aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/keyboard-mediator.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-21 16:54:13 -0700
committerJose Antonio Marquez2012-06-21 16:54:13 -0700
commit8d0c07b6734d874b481bb4866466de8f863a67a7 (patch)
tree564528119093e4e3408ccf180d55ac3d5e413813 /js/mediators/keyboard-mediator.js
parentd9f2064fc7dc5284e159032e3efbab5de9b2dc14 (diff)
parent2af33f19de48bb8fe269c51ceddd1bc1f591651f (diff)
downloadninja-8d0c07b6734d874b481bb4866466de8f863a67a7.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
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 cce053bc..c7288d28 100755
--- a/js/mediators/keyboard-mediator.js
+++ b/js/mediators/keyboard-mediator.js
@@ -115,7 +115,7 @@ exports.KeyboardMediator = Montage.create(Component, {
115 115
116 116
117 // Shortcut for Selection Tool is V 117 // Shortcut for Selection Tool is V
118 if(evt.keyCode === Keyboard.V) { 118 if((evt.keyCode === Keyboard.V) && !(evt.ctrlKey || evt.metaKey)) {
119 evt.preventDefault(); 119 evt.preventDefault();
120 this.application.ninja.handleSelectTool({ "detail": this.application.ninja.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex] }); 120 this.application.ninja.handleSelectTool({ "detail": this.application.ninja.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex] });
121 return; 121 return;