forked from 0x2620/oxjs
add 'uncheckItem' method to menus and menubuttons, fix toggleSize in video editor
This commit is contained in:
parent
132e8d2207
commit
02696ae741
3 changed files with 14 additions and 3 deletions
|
|
@ -1300,7 +1300,9 @@ Ox.VideoEditor = function(options, self) {
|
|||
self.options.videoSize = self.options.videoSize == 'small'
|
||||
? 'large' : 'small';
|
||||
setSizes();
|
||||
self.$menuButton.checkItem(self.options.videoSize);
|
||||
self.$menuButton[
|
||||
self.options.videoSize == 'small' ? 'uncheckItem' : 'checkItem'
|
||||
]('size');
|
||||
self.$player[0].options({
|
||||
sizeIsLarge: self.options.videoSize == 'large'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue