forked from 0x2620/oxjs
various focus/selection fixes
This commit is contained in:
parent
a7a3f167c9
commit
ed4f7f0c2d
4 changed files with 15 additions and 9 deletions
|
|
@ -210,7 +210,6 @@ Ox.VideoEditor = function(options, self) {
|
|||
// the following is needed to determine
|
||||
// how to handle annotation input blur
|
||||
if (self.editing) {
|
||||
Ox.print('FOCUSED')
|
||||
self.focused = true;
|
||||
setTimeout(function() {
|
||||
// annotation folder will gain focus on blur
|
||||
|
|
@ -397,7 +396,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
{key: 'S', action: 'Select Current Annotation'},
|
||||
{key: 'E', action: 'Edit Selected Annotation'},
|
||||
{key: Ox.UI.symbols['return'], action: 'Submit'},
|
||||
{key: Ox.UI.symbols.escape, action: 'Cancel'},
|
||||
{key: Ox.UI.symbols.escape, action: 'Cancel'}
|
||||
].forEach(function(shortcut) {
|
||||
self.$keyboardShortcuts.append(
|
||||
$('<div>').css({display: 'table-row'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue