Make 1,2,3,... keyboard shortcuts work when annotations have focus (fixes #473)
This commit is contained in:
parent
e819ff05df
commit
5b94a68f0f
3 changed files with 6 additions and 3 deletions
|
@ -268,7 +268,8 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
);
|
||||
|
||||
[
|
||||
'0', 'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'f', 'g', 'h', 'i', 'minus', 'n', 'o', 'openbracket', 'p',
|
||||
'shift_0', 'shift_g', 'shift_i', 'shift_o', 'slash', 'space'
|
||||
].forEach(function(key) {
|
||||
|
|
|
@ -222,7 +222,8 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
})
|
||||
.appendTo(self.$folders);
|
||||
[
|
||||
'0', 'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'f', 'g', 'h', 'i', 'minus', 'n', 'o', 'openbracket', 'p',
|
||||
'shift_0', 'shift_g', 'shift_i', 'shift_o', 'slash', 'space'
|
||||
].forEach(function(key) {
|
||||
|
|
|
@ -651,7 +651,8 @@ Ox.VideoEditor = function(options, self) {
|
|||
});
|
||||
|
||||
[
|
||||
'0', 'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
'b', 'backslash', 'closebracket', 'comma', 'dot', 'equal',
|
||||
'f', 'g', 'h', 'i', 'minus', 'n', 'o', 'openbracket', 'p',
|
||||
'shift_0', 'shift_g', 'shift_i', 'shift_o', 'slash', 'space'
|
||||
].forEach(function(key) {
|
||||
|
|
Loading…
Reference in a new issue