Skip to content
Snippets Groups Projects
Commit f9ee1c61 authored by Ashod Nakashian's avatar Ashod Nakashian Committed by Ashod Nakashian
Browse files

loleaflet: configurable dimming timeout and fire event

Two timeout are now configurable.
idleTimeoutSecs, which controls when to dim because
of user inactivity, even if the tab is in focus.
outOfFocusTimeoutSecs, which controls when to dim
when the tab loses focus.

Currently they are set to 15 minutes and 30 seconds
respectively by default.

User_Idle event is now fired on dimming.

Change-Id: I894f6df44825b6814872f1c4986fab8dcd4d6cef
Reviewed-on: https://gerrit.libreoffice.org/37373


Reviewed-by: default avatarAshod Nakashian <ashnakash@gmail.com>
Tested-by: default avatarAshod Nakashian <ashnakash@gmail.com>
parent 9798eafb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment