diff --git a/source/Ox.UI/js/Video/ClipPanel.js b/source/Ox.UI/js/Video/ClipPanel.js index e2aaceee..feb4b7d0 100644 --- a/source/Ox.UI/js/Video/ClipPanel.js +++ b/source/Ox.UI/js/Video/ClipPanel.js @@ -477,6 +477,14 @@ Ox.ClipPanel = function(options, self) { ); } + that.invertSelection = function() { + self.$list.invertSelection(); + }; + + that.selectAll = function() { + self.$list.selectAll(); + }; + that.updateItem = function(id, data) { self.options.clips[Ox.getIndexById(self.options.clips, id)] = data; ['in', 'out', 'duration'].forEach(function(key) { diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index aa47413e..ea1a030f 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -552,6 +552,14 @@ Ox.VideoEditPanel = function(options, self) { }); } + that.invertSelection = function() { + self.$clipPanel.invertSelection(); + }; + + that.selectAll = function() { + self.$clipPanel.selectAll(); + }; + that.updateClip = function(id, data) { self.options.clips[Ox.getIndexById(self.options.clips, id)] = data; self.$clipPanel.updateItem(id, data);