forked from 0x2620/oxjs
pass sort and item updates
This commit is contained in:
parent
d7786e79a5
commit
cae1875f44
2 changed files with 36 additions and 10 deletions
|
|
@ -43,7 +43,10 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
.options(options || {})
|
||||
.update({
|
||||
clips: function() {
|
||||
self.$clipPanel.options({clips: Ox.clone(self.options.clips)});
|
||||
self.$clipPanel.options({
|
||||
clips: Ox.clone(self.options.clips),
|
||||
sort: self.options.clipSort
|
||||
});
|
||||
},
|
||||
duration: function() {
|
||||
self.$timeline && self.$timeline.replaceWith(
|
||||
|
|
@ -252,6 +255,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
that.triggerEvent('select', data);
|
||||
},
|
||||
sort: function(data) {
|
||||
self.options.clipSort = data;
|
||||
that.triggerEvent('sort', data);
|
||||
},
|
||||
toggle: toggleClips,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue