loleaflet/src/layer/tile/CanvasTileLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3bd84922ecf9ab86179b23168866e214baa240da Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Wed Sep 16 15:40:49 2020 +0100 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Wed Sep 16 15:40:49 2020 +0100 calc canvas: use the right canvas size in core pixels to clear. Change-Id: I058cabd4daa51eb7da1f1ee33e59464692f00331 diff --git a/loleaflet/src/layer/tile/CanvasTileLayer.js b/loleaflet/src/layer/tile/CanvasTileLayer.js index bbc4c3cfc..e814acaec 100644 --- a/loleaflet/src/layer/tile/CanvasTileLayer.js +++ b/loleaflet/src/layer/tile/CanvasTileLayer.js @@ -135,7 +135,7 @@ L.CanvasTilePainter = L.Class.extend({ this._canvasCtx.fillStyle = 'rgba(255, 0, 0, 0.5)'; else this._canvasCtx.fillStyle = 'white'; - this._canvasCtx.fillRect(0, 0, this._width, this._height); + this._canvasCtx.fillRect(0, 0, this._pixWidth, this._pixHeight); }, // Details of tile areas to render _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits