loleaflet/js/main.js                         |    1 -
 loleaflet/src/layer/tile/ImpressTileLayer.js |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d63970f60bff6d76283b3d2e6376d041264499b
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Tue Jan 15 11:54:05 2019 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Tue Mar 5 08:16:24 2019 -0400

    loleaflet: preview slide control belongs to ImpressTileLayer
    
    Change-Id: Id3d7ababdae71fe5794a5762a3b269cc92b797ec

diff --git a/loleaflet/js/main.js b/loleaflet/js/main.js
index 15e859606..7eefaf251 100644
--- a/loleaflet/js/main.js
+++ b/loleaflet/js/main.js
@@ -73,7 +73,6 @@ setupToolbar(map);
 map.addControl(L.control.scroll());
 map.addControl(L.control.alertDialog());
 map.addControl(L.control.lokDialog());
-map.addControl(L.control.partsPreview());
 map.addControl(L.control.tabs());
 map.addControl(L.control.columnHeader());
 map.addControl(L.control.rowHeader());
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js 
b/loleaflet/src/layer/tile/ImpressTileLayer.js
index 5240e3b89..ceccc1696 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -83,6 +83,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
        },
 
        onAdd: function (map) {
+               map.addControl(L.control.partsPreview());
                L.TileLayer.prototype.onAdd.call(this, map);
                this._annotations = {};
                this._topAnnotation = [];
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to