From 113ed223e9848d9838e574c67720d524653e704c Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Fri, 8 Jun 2012 17:09:24 -0700 Subject: - fixed multiple paste displacement Signed-off-by: Ananya Sen --- js/mediators/keyboard-mediator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/mediators/keyboard-mediator.js') 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, { // Shortcut for Selection Tool is V - if(evt.keyCode === Keyboard.V) { + if((evt.keyCode === Keyboard.V) && !(evt.ctrlKey || evt.metaKey)) { evt.preventDefault(); this.application.ninja.handleSelectTool({ "detail": this.application.ninja.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex] }); return; -- cgit v1.2.3