diff options
author | Valerio Virgillito | 2012-02-28 13:17:55 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-28 13:17:55 -0800 |
commit | e5b1102f0cff7f5ba7074840ccf29dc1c02ced8e (patch) | |
tree | 3228242a101b366b1282a0c96651db0e52760e34 /js/mediators | |
parent | 7c9291a5bab4abd849547f8878f6fb962fc88250 (diff) | |
parent | a70c62891d0c7dd032d9382c50d1555ab81c4e33 (diff) | |
download | ninja-e5b1102f0cff7f5ba7074840ccf29dc1c02ced8e.tar.gz |
Merge branch 'ToolFixes' of https://github.com/mqg734/ninja-internal into integration-candidate
Diffstat (limited to 'js/mediators')
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index 443a18ac..43098cba 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -162,6 +162,13 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
162 | return; | 162 | return; |
163 | } | 163 | } |
164 | 164 | ||
165 | // Rotate Stage Tool is M | ||
166 | if(evt.keyCode === Keyboard.M ) { | ||
167 | evt.preventDefault(); | ||
168 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[13]}); | ||
169 | return; | ||
170 | } | ||
171 | |||
165 | // Hand tool | 172 | // Hand tool |
166 | if(evt.keyCode === Keyboard.H ) { | 173 | if(evt.keyCode === Keyboard.H ) { |
167 | evt.preventDefault(); | 174 | evt.preventDefault(); |