[Libreoffice-commits] online.git: loleaflet/src

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 2 15:07:00 UTC 2020


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

New commits:
commit a0c1bc05ecefc3606d35244a3faa42348752a216
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Thu Mar 26 07:32:39 2020 -0400
Commit:     Ashod Nakashian <ashnakash at 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Ashod Nakashian <ashnakash at 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


More information about the Libreoffice-commits mailing list