loleaflet/src/map/Map.js | 1 + 1 file changed, 1 insertion(+) New commits: commit c545b64b3a18b84bc8987e6069fe181c181ed590 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Wed Mar 25 09:24:46 2020 -0400 Commit: Andras Timar <andras.ti...@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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@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. } }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits