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

New commits:
commit 2a8159ad759e1eab4b6dfb8d898029a1d16059f4
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Feb 9 15:06:06 2018 +0530

    loleaflet: IME candidate window pos should be wrt container, not layer
    
    Change-Id: I362fb414d114d64650a6c6ec466d066ea815b333

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 3752f58b..2ef79251 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1537,7 +1537,7 @@ L.TileLayer = L.GridLayer.extend({
 
                        // move the hidden input field with the cursor
                        var clipContainer = 
L.DomUtil.get('doc-clipboard-container');
-                       var pos = 
this._map.latLngToLayerPoint(L.latLng(cursorPos)).round();
+                       var pos = 
this._map.latLngToContainerPoint(L.latLng(cursorPos)).round();
                        L.DomUtil.setPosition(clipContainer, pos);
                }
                else if (this._cursorMarker) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to