loleaflet/src/layer/marker/ClipboardContainer.js |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 4d416b077a731753a1d7ca57116af0c393afd7b4
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Mon Sep 17 23:28:13 2018 -0400
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Tue Sep 18 17:02:08 2018 +0200

    loleaflet: update cursor position
    
    to fix IME pop up window
    
    Change-Id: Ied2ca0b7518a20f6114f7e8f628bc3c352d7326f
    Reviewed-on: https://gerrit.libreoffice.org/60653
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/layer/marker/ClipboardContainer.js 
b/loleaflet/src/layer/marker/ClipboardContainer.js
index 9308babdc..b98ca063e 100644
--- a/loleaflet/src/layer/marker/ClipboardContainer.js
+++ b/loleaflet/src/layer/marker/ClipboardContainer.js
@@ -80,6 +80,10 @@ L.ClipboardContainer = L.Layer.extend({
 
        showCursor: function () {
                this._map.addLayer(this._map._docLayer._cursorMarker);
+
+               // move the hidden input field with the cursor
+               var cursorPos = 
this._map._docLayer._visibleCursor.getNorthWest();
+               L.DomUtil.setPosition(this._container, 
this._map.latLngToLayerPoint(L.latLng(cursorPos)).round());
        },
 
        _setPos: function (pos) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to