forward paste event

This commit is contained in:
j 2018-03-07 13:18:21 +05:30
parent 819c5c747d
commit 80b3c02164

View file

@ -172,6 +172,9 @@ Ox.VideoEditPanel = function(options, self) {
out: self.options.out out: self.options.out
}]); }]);
}, },
key_control_v: function() {
that.triggerEvent('paste');
},
key_dot: function() { key_dot: function() {
movePositionTo('cut', 1); movePositionTo('cut', 1);
}, },
@ -275,6 +278,9 @@ Ox.VideoEditPanel = function(options, self) {
loop: function(data) { loop: function(data) {
that.triggerEvent('loop', data); that.triggerEvent('loop', data);
}, },
key_control_v: function() {
that.triggerEvent('paste');
},
muted: function(data) { muted: function(data) {
that.triggerEvent('muted', data); that.triggerEvent('muted', data);
}, },