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

New commits:
commit a0c1bc05ecefc3606d35244a3faa42348752a216
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Thu Mar 26 07:32:39 2020 -0400
Commit:     Ashod Nakashian <ashnak...@gmail.com>
CommitDate: Thu Apr 2 17:06:39 2020 +0200

    leaflet: limit special case to only the Formula-Bar
    
    Change-Id: If9c5bbe7f985a7bdac2d12c5136e0e93a1d41354
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91536
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index add537854..225bceddb 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -2017,7 +2017,7 @@ L.TileLayer = L.GridLayer.extend({
 
        _postMouseEvent: function(type, x, y, count, buttons, modifier) {
 
-               if (this.isCalc() && !this._map.editorHasFocus()) {
+               if (this._map.calcInputBarHasFocus()) {
                        // When the Formula-bar has the focus, sending
                        // mouse move with the document coordinates
                        // hides the cursor (lost focus?). This is clearly
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to