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

New commits:
commit 91c074a1f20f70c3e28b3b1afadc46952d99f2f4
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Mon Sep 17 23:28:13 2018 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Thu Sep 27 09:48:16 2018 -0400

    loleaflet: update cursor position
    
    to fix IME pop up window
    
    Change-Id: Ied2ca0b7518a20f6114f7e8f628bc3c352d7326f

diff --git a/loleaflet/src/layer/marker/ClipboardContainer.js 
b/loleaflet/src/layer/marker/ClipboardContainer.js
index 2cc5deb0d..1ae56d7d9 100644
--- a/loleaflet/src/layer/marker/ClipboardContainer.js
+++ b/loleaflet/src/layer/marker/ClipboardContainer.js
@@ -81,6 +81,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