diff options
author | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
commit | 87a8b62f71bb72274c3dd1fa389e88c12d482ebb (patch) | |
tree | bf9f995e2972c0a61355f24e64231cdf0b2c86b5 /js/data/tools-data.js | |
parent | 8821e662484aedb027e26a873883e6ca3fb55a51 (diff) | |
parent | a95bba25c3ba6e31784a452e9b94748cc870ba5d (diff) | |
download | ninja-87a8b62f71bb72274c3dd1fa389e88c12d482ebb.tar.gz |
Merge pull request #323 from dhg637/binding
Binding View - Binding Tool & Binding Panel
Diffstat (limited to 'js/data/tools-data.js')
-rwxr-xr-x | js/data/tools-data.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/data/tools-data.js b/js/data/tools-data.js index 138f9f4d..8ed6433e 100755 --- a/js/data/tools-data.js +++ b/js/data/tools-data.js | |||
@@ -46,6 +46,9 @@ exports.ToolsData = Montage.create(Montage, { | |||
46 | zoomToolIndex: { | 46 | zoomToolIndex: { |
47 | value: 12 | 47 | value: 12 |
48 | }, | 48 | }, |
49 | bindingToolIndex: { | ||
50 | value: 13 | ||
51 | }, | ||
49 | 52 | ||
50 | // NOTE: additions or removal of any tools, or any changes in the order of these entries requires updating the constant index properties above. | 53 | // NOTE: additions or removal of any tools, or any changes in the order of these entries requires updating the constant index properties above. |
51 | // Code in the keyboard mediator and ninja.js accesses the array below through the index constants above | 54 | // Code in the keyboard mediator and ninja.js accesses the array below through the index constants above |
@@ -243,6 +246,18 @@ exports.ToolsData = Montage.create(Montage, { | |||
243 | "container": false, | 246 | "container": false, |
244 | "subtools": [], | 247 | "subtools": [], |
245 | "selected": false | 248 | "selected": false |
249 | }, | ||
250 | { | ||
251 | "id": "bindingTool", | ||
252 | "properties": "bindingProperties", | ||
253 | "spriteSheet": true, | ||
254 | "action": "bindingTool", | ||
255 | "toolTip": "Binding (B)", | ||
256 | "cursor": "url('images/cursors/binding.png'),default", | ||
257 | "lastInGroup": true, | ||
258 | "container": false, | ||
259 | "subtools": [], | ||
260 | "selected": false | ||
246 | } | 261 | } |
247 | ] | 262 | ] |
248 | }, | 263 | }, |