rename a variable in video editor
This commit is contained in:
parent
7e8f5bef32
commit
c6bfa97c68
1 changed files with 2 additions and 2 deletions
|
@ -429,7 +429,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
self.$videoMenuButton = Ox.MenuButton({
|
self.$menuButton = Ox.MenuButton({
|
||||||
items: Ox.merge(
|
items: Ox.merge(
|
||||||
[
|
[
|
||||||
{group: 'size', min: 1, max: 1, items: [
|
{group: 'size', min: 1, max: 1, items: [
|
||||||
|
@ -1287,7 +1287,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
self.options.videoSize = self.options.videoSize == 'small'
|
self.options.videoSize = self.options.videoSize == 'small'
|
||||||
? 'large' : 'small';
|
? 'large' : 'small';
|
||||||
setSizes();
|
setSizes();
|
||||||
self.$videoMenuButton.checkItem(self.options.videoSize);
|
self.$menuButton.checkItem(self.options.videoSize);
|
||||||
self.$player[0].options({
|
self.$player[0].options({
|
||||||
sizeIsLarge: self.options.videoSize == 'large'
|
sizeIsLarge: self.options.videoSize == 'large'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue