diff options
author | Valerio Virgillito | 2012-02-28 13:20:44 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-28 13:20:44 -0800 |
commit | 7cafa0464ee0c1621ffea04c2192f19008c9fc49 (patch) | |
tree | a6ee9fc9b8141d52825ac8ccc9aaed76ef73ee37 /js/mediators/keyboard-mediator.js | |
parent | 2ab07cb8ac76a06606ce455bb2e6b4889e3ddc65 (diff) | |
parent | 811d5092345bf520f6a683eec89cf7d8ed7aa490 (diff) | |
download | ninja-7cafa0464ee0c1621ffea04c2192f19008c9fc49.tar.gz |
Merge branch 'FileIO-Build-Candidate' of https://github.com/joseeight/ninja-internal into integration-candidate
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 43098cba..1667dca8 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -177,7 +177,7 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
177 | } | 177 | } |
178 | 178 | ||
179 | // Zoom tool | 179 | // Zoom tool |
180 | if(evt.keyCode === Keyboard.Z ) { | 180 | if((evt.keyCode === Keyboard.Z) && !(evt.ctrlKey || evt.metaKey) && !evt.shiftKey) {//ctrl or shift key not press with Z |
181 | evt.preventDefault(); | 181 | evt.preventDefault(); |
182 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[15]}); | 182 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[15]}); |
183 | return; | 183 | return; |