[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/src
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Fri Jul 29 12:01:45 UTC 2016
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d991cc89d59a7f4891e45c0f40adb0fb31e4672e
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Fri Jul 29 07:58:00 2016 -0400
loleaflet: dim the UI after 30 seconds of losing focus
Change-Id: I28239eb92e758b45d10e260c7a8f616062b22839
Reviewed-on: https://gerrit.libreoffice.org/27681
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
(cherry picked from commit b04f29b6796bf18a0297e04dccb76e6fbc027b36)
Reviewed-on: https://gerrit.libreoffice.org/27683
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 3cbbf59..981734b 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -763,7 +763,7 @@ L.Map = L.Evented.extend({
map._docLayer._onMessage('textselection:', null);
map._socket.sendMessage('userinactive');
- }, 10 * 1000);
+ }, 30 * 1000); // Dim in 30 seconds.
},
_onLostFocus: function () {
More information about the Libreoffice-commits
mailing list