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

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 25 14:00:17 UTC 2020


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

New commits:
commit c545b64b3a18b84bc8987e6069fe181c181ed590
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Wed Mar 25 09:24:46 2020 -0400
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Mar 25 14:59:49 2020 +0100

    leaflet: hide the cursor when a dialog has the focus
    
    Change-Id: I3482a227d508b0a24adc875833de91091ee66a2f
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91054
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 38f0803dc..34f3cc9a7 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1415,6 +1415,7 @@ L.Map = L.Evented.extend({
 		} else if (acceptInput !== undefined) {
 			// A dialog has the focus.
 			this.focus(acceptInput);
+			this._textInput.hideCursor(); // The cursor is in the dialog.
 		}
 	},
 


More information about the Libreoffice-commits mailing list