add doubleclick-to-scroll-up to editor menubar
This commit is contained in:
parent
5c655f3337
commit
675e45df18
1 changed files with 8 additions and 1 deletions
|
@ -441,7 +441,14 @@ Ox.VideoEditor = function(options, self) {
|
|||
self.$menubar = Ox.Bar({
|
||||
size: 16
|
||||
})
|
||||
.addClass('OxVideoPlayer');
|
||||
.addClass('OxVideoPlayer')
|
||||
.bindEvent({
|
||||
doubleclick: function(e) {
|
||||
if ($(e.target).is('.OxBar')) {
|
||||
self.$editor.animate({scrollTop: 0}, 250);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
self.resolutions = [];
|
||||
Ox.forEach(self.options.video, function(url, resolution) {
|
||||
|
|
Loading…
Reference in a new issue