loleaflet/src/control/Parts.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6735fbc8a1e5db151f398723c5fbefa936acd3ce
Author: Marco Cecchetti <[email protected]>
Date: Tue Apr 25 12:35:42 2017 +0200
Loleaflet - fix: row/col header do not update on switching tab
Change-Id: I6528646276647ea78048d68eb91794cb394b67c3
Reviewed-on: https://gerrit.libreoffice.org/36935
Reviewed-by: Jan Holesovsky <[email protected]>
Tested-by: Jan Holesovsky <[email protected]>
diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js
index 1071db03..1953eb52 100644
--- a/loleaflet/src/control/Parts.js
+++ b/loleaflet/src/control/Parts.js
@@ -51,6 +51,8 @@ L.Map.include({
if (!this._searchRequested) {
this.focus();
}
+ if (docLayer._docType === 'spreadsheet')
+ this.fire('updaterowcolumnheaders', {x:
this._getTopLeftPoint().x, y: this._getTopLeftPoint(), offset: {x: undefined,
y: undefined}});
},
getPreview: function (id, index, maxWidth, maxHeight, options) {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits