in edits, handle 'add to clipboard'; resize clip list on window resize
This commit is contained in:
parent
27bbbdbd83
commit
c6c3452853
2 changed files with 8 additions and 4 deletions
|
@ -28,6 +28,9 @@ Ox.ClipPanel = function(options, self) {
|
|||
updateStatus();
|
||||
},
|
||||
duration: updateStatus,
|
||||
height: function() {
|
||||
self.$list.size();
|
||||
},
|
||||
sort: function() {
|
||||
updateSortElement();
|
||||
self.$list.options({
|
||||
|
@ -255,8 +258,8 @@ Ox.ClipPanel = function(options, self) {
|
|||
copy: function(data) {
|
||||
that.triggerEvent('copy', data);
|
||||
},
|
||||
cut: function(data) {
|
||||
that.triggerEvent('cut', data);
|
||||
copyadd: function(data) {
|
||||
that.triggerEvent('copyadd', data);
|
||||
},
|
||||
'delete': function(data) {
|
||||
that.triggerEvent('remove', data);
|
||||
|
|
|
@ -58,6 +58,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
},
|
||||
height: function() {
|
||||
self.$video.options({height: getPlayerHeight()});
|
||||
self.$clipPanel.options({height: self.options.height});
|
||||
},
|
||||
'in': function() {
|
||||
setPoint('in', self.options['in']);
|
||||
|
@ -254,8 +255,8 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
copy: function(data) {
|
||||
that.triggerEvent('copy', data);
|
||||
},
|
||||
cut: function(data) {
|
||||
that.triggerEvent('cut', data);
|
||||
copyadd: function(data) {
|
||||
that.triggerEvent('copyadd', data);
|
||||
},
|
||||
edit: function(data) {
|
||||
that.triggerEvent('edit', data);
|
||||
|
|
Loading…
Reference in a new issue