[Libreoffice-commits] online.git: loleaflet/src

Ashod Nakashian ashod.nakashian at collabora.co.uk
Fri Jul 29 12:00:19 UTC 2016


 loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b04f29b6796bf18a0297e04dccb76e6fbc027b36
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>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 6c94b31..3d9346f 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -767,7 +767,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