1
0
Fork 0
forked from 0x2620/oxjs

make +/- volume keyboard shortcut work in video and timeline views

This commit is contained in:
rlx 2012-02-19 11:21:52 +00:00
commit 7d188d8621
5 changed files with 46 additions and 19 deletions

View file

@ -255,9 +255,11 @@ Ox.AnnotationFolder = function(options, self) {
[
'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'
'b', 'backslash', 'closebracket', 'comma', 'dot',
'equal', 'f', 'g', 'h', 'i', 'minus', 'n', 'o',
'openbracket', 'p', 'shift_0', 'shift_equal',
'shift_g', 'shift_i', 'shift_minus', 'shift_o',
'slash', 'space'
].forEach(function(key) {
key = 'key_' + key;
self.$annotations.bindEvent(key, function() {