video editor: trigger copy events
This commit is contained in:
parent
1f29646b28
commit
74d4c16e3a
1 changed files with 14 additions and 0 deletions
|
@ -151,6 +151,13 @@ Ox.VideoEditor = function(options, self) {
|
||||||
key_comma: function() {
|
key_comma: function() {
|
||||||
movePositionTo('cut', -1);
|
movePositionTo('cut', -1);
|
||||||
},
|
},
|
||||||
|
key_control_c: function() {
|
||||||
|
that.triggerEvent('copy', [{
|
||||||
|
annotation: self.options.selected,
|
||||||
|
'in': self.options['in'],
|
||||||
|
out: self.options.out
|
||||||
|
}]);
|
||||||
|
},
|
||||||
key_delete: function() {
|
key_delete: function() {
|
||||||
self.$annotationPanel.removeItem(true);
|
self.$annotationPanel.removeItem(true);
|
||||||
},
|
},
|
||||||
|
@ -216,6 +223,13 @@ Ox.VideoEditor = function(options, self) {
|
||||||
key_shift_0: function() {
|
key_shift_0: function() {
|
||||||
movePositionBy(-self.options.position);
|
movePositionBy(-self.options.position);
|
||||||
},
|
},
|
||||||
|
key_shift_control_c: function() {
|
||||||
|
that.triggerEvent('copyadd', [{
|
||||||
|
annotation: self.options.selected,
|
||||||
|
'in': self.options['in'],
|
||||||
|
out: self.options.out
|
||||||
|
}]);
|
||||||
|
},
|
||||||
key_shift_down: function() {
|
key_shift_down: function() {
|
||||||
movePositionBy(self.options.duration);
|
movePositionBy(self.options.duration);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue