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

Henry Castro hcastro at collabora.com
Fri Jun 26 12:41:03 PDT 2015


 loleaflet/src/layer/tile/TileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit acfad75fc9c17e4f4c9a920ddac46ac0e1a95c3b
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Jun 26 15:38:58 2015 -0400

    loleaflet: Fix cursor visible when changing part.

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 36e416e..fc83fff 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -247,7 +247,7 @@ L.TileLayer = L.GridLayer.extend({
 
 		if (textMsg.startsWith('cursorvisible:')) {
 			var command = textMsg.match('cursorvisible: true');
-			this._isCursorVisible = command === undefined ? false : true;
+			this._isCursorVisible = command ? true : false;
 			this._isCursorOverlayVisible = true;
 			this._onUpdateCursor();
 		}


More information about the Libreoffice-commits mailing list