diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/data/tools-data.js | 22 | ||||
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/js/data/tools-data.js b/js/data/tools-data.js index 00de9236..96367203 100755 --- a/js/data/tools-data.js +++ b/js/data/tools-data.js | |||
@@ -157,17 +157,17 @@ exports.ToolsData = Montage.create(Montage, { | |||
157 | "container": false, | 157 | "container": false, |
158 | "selected": false | 158 | "selected": false |
159 | }, | 159 | }, |
160 | // { | 160 | { |
161 | // "id": "InkBottleTool", | 161 | "id": "InkBottleTool", |
162 | // "properties": "inkbottleProperties", | 162 | "properties": "inkbottleProperties", |
163 | // "spriteSheet": true, | 163 | "spriteSheet": true, |
164 | // "action": "InkBottleTool", | 164 | "action": "InkBottleTool", |
165 | // "toolTip": "Ink Bottle Tool", | 165 | "toolTip": "Ink Bottle Tool", |
166 | // "cursor": "url('images/tools/inkbottle_down.png'), default", | 166 | "cursor": "url('images/tools/inkbottle_down.png'), default", |
167 | // "lastInGroup": false, | 167 | "lastInGroup": false, |
168 | // "container": false, | 168 | "container": false, |
169 | // "selected": false | 169 | "selected": false |
170 | // }, | 170 | }, |
171 | { | 171 | { |
172 | "id": "EyedropperTool", | 172 | "id": "EyedropperTool", |
173 | "properties": "eyedropperProperties", | 173 | "properties": "eyedropperProperties", |
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index a4bf9baa..5b044f8a 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -165,14 +165,14 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
165 | // Hand tool | 165 | // Hand tool |
166 | if(evt.keyCode === Keyboard.H ) { | 166 | if(evt.keyCode === Keyboard.H ) { |
167 | evt.preventDefault(); | 167 | evt.preventDefault(); |
168 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[13]}); | 168 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[14]}); |
169 | return; | 169 | return; |
170 | } | 170 | } |
171 | 171 | ||
172 | // Zoom tool | 172 | // Zoom tool |
173 | if(evt.keyCode === Keyboard.Z ) { | 173 | if(evt.keyCode === Keyboard.Z ) { |
174 | evt.preventDefault(); | 174 | evt.preventDefault(); |
175 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[14]}); | 175 | this.application.ninja.handleSelectTool({"detail": this.application.ninja.toolsData.defaultToolsData[15]}); |
176 | return; | 176 | return; |
177 | } | 177 | } |
178 | 178 | ||