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

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 30 23:02:47 UTC 2020


 loleaflet/src/control/Control.ColumnHeader.js |    4 +++-
 loleaflet/src/control/Control.RowHeader.js    |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 7519d0cf546be9531053a4bf28f4368f545f7dc8
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Thu Jan 30 04:08:58 2020 +0530
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Jan 31 00:02:29 2020 +0100

    Fix: mobile wizard malfunctioning
    
    The mobile wizard would not perform any actions
    if opened when the mobile keyboard is visible
    
    Change-Id: Id8722b551ea6c13f3fe22b78c996e2bb4b2db2f8
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87712
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/loleaflet/src/control/Control.ColumnHeader.js b/loleaflet/src/control/Control.ColumnHeader.js
index 76a59d593..174901b15 100644
--- a/loleaflet/src/control/Control.ColumnHeader.js
+++ b/loleaflet/src/control/Control.ColumnHeader.js
@@ -393,7 +393,9 @@ L.Control.ColumnHeader = L.Control.Header.extend({
 		this._current = -1;
 		this._selection.start = this._selection.end = -1;
 		this._mouseOverEntry = null;
-		this._lastMouseOverIndex = undefined;
+		if (!window.contextMenuWizard) {
+			this._lastMouseOverIndex = undefined;
+		}
 
 		// create data structure for column widths
 		this._tickMap = new L.Control.Header.GapTickMap(this._map, columns);
diff --git a/loleaflet/src/control/Control.RowHeader.js b/loleaflet/src/control/Control.RowHeader.js
index 98e5c8f45..d1f475723 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -383,7 +383,9 @@ L.Control.RowHeader = L.Control.Header.extend({
 		this._current = -1;
 		this._selection.start = this._selection.end = -1;
 		this._mouseOverEntry = null;
-		this._lastMouseOverIndex = undefined;
+		if (!window.contextMenuWizard) {
+			this._lastMouseOverIndex = undefined;
+		}
 
 		// create data structure for row heights
 		this._tickMap = new L.Control.Header.GapTickMap(this._map, rows);


More information about the Libreoffice-commits mailing list