[Libreoffice-commits] online.git: Branch 'feature/calc-canvas' - loleaflet/src
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 15 18:53:59 UTC 2020
loleaflet/src/layer/tile/CanvasTileLayer.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8ac9c59e39520cd0898431b6f74ce4180c812252
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Sep 15 19:53:16 2020 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Sep 15 19:53:16 2020 +0100
calc grid: re-render the canvas when we get grid details.
Change-Id: I3d1d1485e561d8c807daa0dfe0a9f2cb5651d31b
diff --git a/loleaflet/src/layer/tile/CanvasTileLayer.js b/loleaflet/src/layer/tile/CanvasTileLayer.js
index 5ab4b7ff2..075791d78 100644
--- a/loleaflet/src/layer/tile/CanvasTileLayer.js
+++ b/loleaflet/src/layer/tile/CanvasTileLayer.js
@@ -395,6 +395,7 @@ L.CanvasTileLayer = L.TileLayer.extend({
}
this._map.on('resize zoomend', this._painter.update, this._painter);
this._map.on('splitposchanged', this._painter.update, this._painter);
+ this._map.on('sheetgeometrychanged', this._painter.update, this._painter);
this._map.on('move', this._syncTilePanePos, this);
},
More information about the Libreoffice-commits
mailing list