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();
|
updateStatus();
|
||||||
},
|
},
|
||||||
duration: updateStatus,
|
duration: updateStatus,
|
||||||
|
height: function() {
|
||||||
|
self.$list.size();
|
||||||
|
},
|
||||||
sort: function() {
|
sort: function() {
|
||||||
updateSortElement();
|
updateSortElement();
|
||||||
self.$list.options({
|
self.$list.options({
|
||||||
|
@ -255,8 +258,8 @@ Ox.ClipPanel = function(options, self) {
|
||||||
copy: function(data) {
|
copy: function(data) {
|
||||||
that.triggerEvent('copy', data);
|
that.triggerEvent('copy', data);
|
||||||
},
|
},
|
||||||
cut: function(data) {
|
copyadd: function(data) {
|
||||||
that.triggerEvent('cut', data);
|
that.triggerEvent('copyadd', data);
|
||||||
},
|
},
|
||||||
'delete': function(data) {
|
'delete': function(data) {
|
||||||
that.triggerEvent('remove', data);
|
that.triggerEvent('remove', data);
|
||||||
|
|
|
@ -58,6 +58,7 @@ Ox.VideoEditPanel = function(options, self) {
|
||||||
},
|
},
|
||||||
height: function() {
|
height: function() {
|
||||||
self.$video.options({height: getPlayerHeight()});
|
self.$video.options({height: getPlayerHeight()});
|
||||||
|
self.$clipPanel.options({height: self.options.height});
|
||||||
},
|
},
|
||||||
'in': function() {
|
'in': function() {
|
||||||
setPoint('in', self.options['in']);
|
setPoint('in', self.options['in']);
|
||||||
|
@ -254,8 +255,8 @@ Ox.VideoEditPanel = function(options, self) {
|
||||||
copy: function(data) {
|
copy: function(data) {
|
||||||
that.triggerEvent('copy', data);
|
that.triggerEvent('copy', data);
|
||||||
},
|
},
|
||||||
cut: function(data) {
|
copyadd: function(data) {
|
||||||
that.triggerEvent('cut', data);
|
that.triggerEvent('copyadd', data);
|
||||||
},
|
},
|
||||||
edit: function(data) {
|
edit: function(data) {
|
||||||
that.triggerEvent('edit', data);
|
that.triggerEvent('edit', data);
|
||||||
|
|
Loading…
Reference in a new issue