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: {
|
config: {
|
||||||
'lock-unfocused': 'on',
|
'lock-unfocused': 'on',
|
||||||
|
|
||||||
// The timeout to wait after window focus before setting .focused
|
// The timeout to wait after window focus before unlocking the
|
||||||
// to true.
|
// viewer
|
||||||
'window-focus-timeout': 200,
|
'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',
|
toggleUnfocusedLock: ['Interface/Lock unfocused viewer',
|
||||||
core.doc`Toggle unfocused viewer locking...
|
core.doc`Toggle unfocused viewer locking...
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user