diff options
author | John Mayhew | 2012-05-08 07:25:09 -0700 |
---|---|---|
committer | John Mayhew | 2012-05-08 07:25:09 -0700 |
commit | dd663d8fe9191cc57c9cebe6d425562cb45982c2 (patch) | |
tree | e13e2d81d755ac99eede0b8c5aa468f7b32ab38e /js/data | |
parent | 1196fcee1c7e5e86edb387cdbc1b08d40926ca15 (diff) | |
download | ninja-dd663d8fe9191cc57c9cebe6d425562cb45982c2.tar.gz |
Removed unused SubSelect Tool
Diffstat (limited to 'js/data')
-rwxr-xr-x | js/data/tools-data.js | 52 |
1 files changed, 41 insertions, 11 deletions
diff --git a/js/data/tools-data.js b/js/data/tools-data.js index ac6fe6e5..32eaf24d 100755 --- a/js/data/tools-data.js +++ b/js/data/tools-data.js | |||
@@ -7,7 +7,48 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
7 | var Montage = require("montage/core/core").Montage; | 7 | var Montage = require("montage/core/core").Montage; |
8 | 8 | ||
9 | exports.ToolsData = Montage.create(Montage, { | 9 | exports.ToolsData = Montage.create(Montage, { |
10 | selectionToolIndex : { | ||
11 | value: 0 | ||
12 | }, | ||
13 | rotate3DToolIndex: { | ||
14 | value: 1 | ||
15 | }, | ||
16 | translate3DToolIndex: { | ||
17 | value: 2 | ||
18 | }, | ||
19 | tagToolIndex: { | ||
20 | value: 3 | ||
21 | }, | ||
22 | penToolIndex: { | ||
23 | value: 4 | ||
24 | }, | ||
25 | textToolIndex: { | ||
26 | value: 5 | ||
27 | }, | ||
28 | shapeToolIndex: { | ||
29 | value: 6 | ||
30 | }, | ||
31 | brushToolIndex: { | ||
32 | value: 7 | ||
33 | }, | ||
34 | fillToolIndex: { | ||
35 | value: 8 | ||
36 | }, | ||
37 | inkBottleToolIndex: { | ||
38 | value: 9 | ||
39 | }, | ||
40 | rotateStage3DToolIndex: { | ||
41 | value: 10 | ||
42 | }, | ||
43 | panToolIndex: { | ||
44 | value: 11 | ||
45 | }, | ||
46 | zoomToolIndex: { | ||
47 | value: 12 | ||
48 | }, | ||
10 | 49 | ||
50 | // 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 | ||
11 | defaultToolsData: { | 52 | defaultToolsData: { |
12 | value: [ | 53 | value: [ |
13 | { | 54 | { |
@@ -22,17 +63,6 @@ exports.ToolsData = Montage.create(Montage, { | |||
22 | "selected": true | 63 | "selected": true |
23 | }, | 64 | }, |
24 | { | 65 | { |
25 | "id": "SubselectionTool", | ||
26 | "properties": "subSelectionProperties", | ||
27 | "spriteSheet": true, | ||
28 | "action": "SubselectionTool", | ||
29 | "toolTip": "Subselect Tool", | ||
30 | "cursor": "auto", | ||
31 | "lastInGroup": true, | ||
32 | "container": false, | ||
33 | "selected": false | ||
34 | }, | ||
35 | { | ||
36 | "id": "RotateTool3D", | 66 | "id": "RotateTool3D", |
37 | "properties": "rotate3DProperties", | 67 | "properties": "rotate3DProperties", |
38 | "spriteSheet": true, | 68 | "spriteSheet": true, |