update timeline names

This commit is contained in:
rolux 2012-03-17 06:31:34 +00:00
parent 84e6cfdec3
commit 21fc25e7fd
3 changed files with 16 additions and 4 deletions

View File

@ -652,6 +652,12 @@
{"id": "rights", "title": "Rights Management"},
{"id": "contact", "title": "Contact"}
],
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
{"id": "keyframes", "title": "Key Frames"},
{"id": "audio", "title": "Audio"}
],
"totals": [
{"id": "items"},
{"id": "runtime"},
@ -737,7 +743,7 @@
"videoScale": "fit",
"videoSize": "small",
"videoSubtitles": true,
"videoTimeline": "average",
"videoTimeline": "antialias",
"videoView": "video",
"videoVolume": 1
},

View File

@ -568,6 +568,12 @@
{"id": "license", "title": "License"},
{"id": "contact", "title": "Contact"}
],
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
{"id": "keyframes", "title": "Key Frames"},
{"id": "audio", "title": "Audio"}
],
"totals": [
{"id": "items"},
{"id": "files", "admin": true},
@ -657,7 +663,7 @@
"videoResolution": 240,
"videoScale": "fit",
"videoSize": "large",
"videoTimeline": "average",
"videoTimeline": "antialias",
"videoView": "video",
"videoVolume": 1
},

View File

@ -70,8 +70,8 @@ pandora.ui.mainMenu = function() {
] : []
) },
{ id: 'timelines', title: 'Timelines', items: [
{ group: 'viewtimelines', min: 1, max: 1, items: ['average', 'center', 'frames'].map(function(timelines) {
return {id: timelines, title: Ox.toTitleCase(timelines), checked: ui.videoTimeline == timelines};
{ group: 'viewtimelines', min: 1, max: 1, items: pandora.site.timelines.map(function(mode) {
return {id: mode.id, title: mode.title, checked: ui.videoTimeline == mode.id};
}) }
]},
{ id: 'columns', title: 'Columns', items: [