[Libreoffice-commits] online.git: loleaflet/src
Dennis Francis (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 8 15:22:11 UTC 2020
loleaflet/src/layer/tile/CalcTileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 42c15edeef9bdd7528cfde7091134cfbbc8925da
Author: Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Tue Jul 7 18:51:49 2020 +0530
Commit: Dennis Francis <dennis.francis at collabora.com>
CommitDate: Wed Jul 8 17:21:51 2020 +0200
enable split-panes feature for Calc for non-mobile
Change-Id: I8be8c36ed5266a7d5eed13cbba95e849fa9723a2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98363
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Dennis Francis <dennis.francis at collabora.com>
diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 116a4231d..2f1a6ac8a 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -4,7 +4,7 @@
*/
/* global */
-L.CalcTileLayer = L.TileLayer.extend({
+L.CalcTileLayer = (L.Browser.mobile ? L.TileLayer : L.CanvasTileLayer).extend({
options: {
// TODO: sync these automatically from SAL_LOK_OPTIONS
sheetGeometryDataEnabled: true,
More information about the Libreoffice-commits
mailing list