mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
46b5622d84
commit
9517f90f1e
@ -1238,19 +1238,11 @@ var LockUnfocusedActions = actions.Actions({
|
||||
config: {
|
||||
'lock-unfocused': 'on',
|
||||
|
||||
// The timeout to wait after window focus before setting .focused
|
||||
// to true.
|
||||
// The timeout to wait after window focus before unlocking the
|
||||
// viewer
|
||||
'window-focus-timeout': 200,
|
||||
},
|
||||
|
||||
// Focus...
|
||||
//
|
||||
// This is true when window is focused and false when not + 200ms
|
||||
// after focusing.
|
||||
// This enables the used to ignore events that lead to window focus.
|
||||
get focused(){
|
||||
return that.dom.find('.lock-clicks').length > 0 },
|
||||
|
||||
toggleUnfocusedLock: ['Interface/Lock unfocused viewer',
|
||||
core.doc`Toggle unfocused viewer locking...
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user