loleaflet/src/layer/tile/TileLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1f289b1a4ddba9313f9cffb7f8cc6cae307c8bc7 Author: Marco Cecchetti <marco.cecche...@collabora.com> AuthorDate: Fri Apr 10 15:02:47 2020 +0200 Commit: Marco Cecchetti <marco.cecche...@collabora.com> CommitDate: Wed Apr 29 13:28:48 2020 +0200 leaflet: calc: focused input bar: sheet doesn't get focus on first click When the formula bar has focus, the user needs to click twice on the grid in order to have the document get focus. Change-Id: I743aae7294c1fd6f0bf6abfbfcfcbfa1a41c70a5 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92124 Tested-by: Marco Cecchetti <marco.cecche...@collabora.com> Reviewed-by: Marco Cecchetti <marco.cecche...@collabora.com> diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 1650c4def..7662b71a2 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -2081,7 +2081,7 @@ L.TileLayer = L.GridLayer.extend({ _postMouseEvent: function(type, x, y, count, buttons, modifier) { - if (this._map.calcInputBarHasFocus()) { + if (this._map.calcInputBarHasFocus() && type === 'move') { // 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