flatten video actions and settings menu

This commit is contained in:
j 2012-01-03 01:50:09 +05:30
parent 724d22e14f
commit f8895e259c

View file

@ -410,13 +410,10 @@ Ox.VideoEditor = function(options, self) {
});
self.$videoMenuButton = Ox.MenuButton({
items: Ox.merge(
[
items: [
{id: 'toggleSize', title: 'Large Player', selected: self.options.playerSize == 'large', keyboard: 'shift +'},
{}
],
{},
{group: 'resolution', min: 1, max: 1, items: self.resolutions},
[
{},
{id: 'largeTimeline', title: 'Hide Large Timeline', disabled: true},
{id: 'subtitlesTimeline', title: 'Hide Subtitles on Large Timeline', disabled: true},
@ -426,8 +423,7 @@ Ox.VideoEditor = function(options, self) {
{id: 'embedSelection', title: 'Embed Selection...', disabled: true},
{},
{id: 'keyboard', title: 'Keyboard Shortcuts...', keyboard: 'h'}
]
),
],
style: 'square',
title: 'set',
tooltip: 'Actions and Settings',