diff options
author | Pushkar Joshi | 2012-04-17 14:49:18 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-04-17 14:49:18 -0700 |
commit | df903a01e14134cadf109b733d09c6eadfa3966b (patch) | |
tree | 2351f1c05b2f852053fa0be533072088a9ad4e7c /js/data | |
parent | 036cf034e124dbc1f4893e90f7c6d240904a3faf (diff) | |
parent | cacb4a21825818af392c2949967b0f3c1df509c5 (diff) | |
download | ninja-df903a01e14134cadf109b733d09c6eadfa3966b.tar.gz |
Merge branch 'master' into pentool
Conflicts:
js/tools/PenTool.js
Diffstat (limited to 'js/data')
-rw-r--r-- | js/data/panels-data.js | 12 | ||||
-rwxr-xr-x | js/data/pi/pi-data.js | 4 | ||||
-rwxr-xr-x | js/data/tools-data.js | 6 |
3 files changed, 18 insertions, 4 deletions
diff --git a/js/data/panels-data.js b/js/data/panels-data.js index 7a2d817a..f613a3be 100644 --- a/js/data/panels-data.js +++ b/js/data/panels-data.js | |||
@@ -93,6 +93,18 @@ exports.PanelsData = Montage.create(Montage, { | |||
93 | open: true, | 93 | open: true, |
94 | modulePath: "js/panels/presets/content.reel", | 94 | modulePath: "js/panels/presets/content.reel", |
95 | moduleName: "content" | 95 | moduleName: "content" |
96 | }, | ||
97 | { | ||
98 | name: "History", | ||
99 | minHeight: 100, | ||
100 | height: 100, | ||
101 | maxHeight: null, | ||
102 | flexible: true, | ||
103 | collapsed: true, | ||
104 | scrollable: true, | ||
105 | open: true, | ||
106 | modulePath: "js/panels/history-panel/history.reel", | ||
107 | moduleName: "History" | ||
96 | } | 108 | } |
97 | ] | 109 | ] |
98 | } | 110 | } |
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js index 7edc90d8..157c54ec 100755 --- a/js/data/pi/pi-data.js +++ b/js/data/pi/pi-data.js | |||
@@ -131,6 +131,8 @@ exports.PiData = Montage.create( Montage, { | |||
131 | type : "hottext", | 131 | type : "hottext", |
132 | id : "borderWidth", | 132 | id : "borderWidth", |
133 | prop : "border-width", | 133 | prop : "border-width", |
134 | defaultValue: 0, | ||
135 | valueMutator: parseFloat, | ||
134 | label : "Border", | 136 | label : "Border", |
135 | min : 0, | 137 | min : 0, |
136 | max : 100, | 138 | max : 100, |
@@ -578,7 +580,7 @@ exports.PiData = Montage.create( Montage, { | |||
578 | valueMutator: parseFloat, | 580 | valueMutator: parseFloat, |
579 | value : 0, | 581 | value : 0, |
580 | min : 0, | 582 | min : 0, |
581 | max : 100, | 583 | max : 99, |
582 | unit : "%", | 584 | unit : "%", |
583 | acceptableUnits: ["%"] | 585 | acceptableUnits: ["%"] |
584 | 586 | ||
diff --git a/js/data/tools-data.js b/js/data/tools-data.js index faf3336f..4d009530 100755 --- a/js/data/tools-data.js +++ b/js/data/tools-data.js | |||
@@ -151,7 +151,7 @@ exports.ToolsData = Montage.create(Montage, { | |||
151 | "properties": "fillProperties", | 151 | "properties": "fillProperties", |
152 | "spriteSheet": true, | 152 | "spriteSheet": true, |
153 | "action": "FillTool", | 153 | "action": "FillTool", |
154 | "toolTip": "Fill Tool", | 154 | "toolTip": "Paint Bucket Tool (K)", |
155 | "cursor": "url('images/tools/bucket_down.png'), default", | 155 | "cursor": "url('images/tools/bucket_down.png'), default", |
156 | "lastInGroup": false, | 156 | "lastInGroup": false, |
157 | "container": false, | 157 | "container": false, |
@@ -162,7 +162,7 @@ exports.ToolsData = Montage.create(Montage, { | |||
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 (K)", |
166 | "cursor": "url('images/tools/inkbottle_down.png'), default", | 166 | "cursor": "url('images/tools/inkbottle_down.png'), default", |
167 | "lastInGroup": true, | 167 | "lastInGroup": true, |
168 | "container": false, | 168 | "container": false, |
@@ -173,7 +173,7 @@ exports.ToolsData = Montage.create(Montage, { | |||
173 | "properties": "eyedropperProperties", | 173 | "properties": "eyedropperProperties", |
174 | "spriteSheet": true, | 174 | "spriteSheet": true, |
175 | "action": "EyedropperTool", | 175 | "action": "EyedropperTool", |
176 | "toolTip": "Eyedropper Tool", | 176 | "toolTip": "Eyedropper Tool (I)", |
177 | "cursor": "url('images/tools/eyedropper_down.png') 6 20, default", | 177 | "cursor": "url('images/tools/eyedropper_down.png') 6 20, default", |
178 | "lastInGroup": false, | 178 | "lastInGroup": false, |
179 | "container": false, | 179 | "container": false, |