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@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
c46168bb77
commit
a0c1bc05ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue