add missing keyboard shortcuts when timeline has focus in edits section
This commit is contained in:
parent
6eb3b0bb6f
commit
41020bb3e5
1 changed files with 8 additions and 1 deletions
|
@ -538,7 +538,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
|
||||
// fixme: why not goToNextPosition()?
|
||||
function getNextPosition(type, direction) {
|
||||
// type can be 'chapter' or 'cut'
|
||||
// type can be 'chapter' or 'cut'
|
||||
var positions;
|
||||
if (type == 'chapter') {
|
||||
positions = self.chapters.map(function(chapter) {
|
||||
|
@ -576,6 +576,13 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
})
|
||||
.css({left: '4px', top: '4px'})
|
||||
.bindEvent({
|
||||
key_left: function() {
|
||||
self.options.paused && movePositionBy(-1 / self.options.fps);
|
||||
},
|
||||
key_right: function() {
|
||||
self.options.paused && movePositionBy(1 / self.options.fps);
|
||||
},
|
||||
key_space: togglePaused,
|
||||
mousedown: that.gainFocus,
|
||||
position: dragendTimeline,
|
||||
positioning: dragTimeline,
|
||||
|
|
Loading…
Reference in a new issue