aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorAnanya Sen2012-06-08 17:09:24 -0700
committerAnanya Sen2012-06-08 17:09:24 -0700
commit113ed223e9848d9838e574c67720d524653e704c (patch)
tree42c24158cfbad39dd831ba268176d300180498bf /js/mediators
parent7378b6846f140106490f10c02cd7cec6a19023aa (diff)
downloadninja-113ed223e9848d9838e574c67720d524653e704c.tar.gz
- fixed multiple paste displacement
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/mediators')
-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 4fd4bd4c..73cea6de 100755
--- a/js/mediators/keyboard-mediator.js
+++ b/js/mediators/keyboard-mediator.js
@@ -109,7 +109,7 @@ exports.KeyboardMediator = Montage.create(Component, {
109 109
110 110
111 // Shortcut for Selection Tool is V 111 // Shortcut for Selection Tool is V
112 if(evt.keyCode === Keyboard.V) { 112 if((evt.keyCode === Keyboard.V) && !(evt.ctrlKey || evt.metaKey)) {
113 evt.preventDefault(); 113 evt.preventDefault();
114 this.application.ninja.handleSelectTool({ "detail": this.application.ninja.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex] }); 114 this.application.ninja.handleSelectTool({ "detail": this.application.ninja.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex] });
115 return; 115 return;