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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Feb 26 13:25:19 UTC 2019


 loleaflet/src/control/Control.Header.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ce818777fc38fa15d60453b26ce607445459a25a
Author:     Marco Cecchetti <mrcekets at gmail.com>
AuthorDate: Sun Feb 24 17:48:24 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Feb 26 14:25:00 2019 +0100

    online: calc: rows were inserted at the wrong place
    
    Change-Id: I67a65e5eff29dbb0c22ba4e8dcc34be229a78eb5
    Reviewed-on: https://gerrit.libreoffice.org/68311
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit 0f4680ce22157ceb84e896d2485688a37574676e)
    Reviewed-on: https://gerrit.libreoffice.org/68312

diff --git a/loleaflet/src/control/Control.Header.js b/loleaflet/src/control/Control.Header.js
index 0390cf4f2..c2059da97 100644
--- a/loleaflet/src/control/Control.Header.js
+++ b/loleaflet/src/control/Control.Header.js
@@ -273,7 +273,7 @@ L.Control.Header = L.Control.extend({
 
 		if (this._mouseOverEntry) {
 			this.drawHeaderEntry(this._mouseOverEntry, /*isOver: */ false);
-			this._lastMouseOverIndex = this._mouseOverEntry.index; // used by context menu
+			this._lastMouseOverIndex = this._mouseOverEntry.index + this._startHeaderIndex; // used by context menu
 			this._mouseOverEntry = null;
 		}
 		this._hitResizeArea = false;


More information about the Libreoffice-commits mailing list