From 9517f90f1eeace9221caa3b442212f7743ad21f6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 27 Aug 2017 13:07:21 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index dc894893..652b0587 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -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...