loleaflet/src/layer/tile/TileLayer.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8ef5c5fa36edbbffe5c5b347f951cb1944a5fdf8
Author: László Németh <laszlo.nem...@collabora.com>
Date:   Wed Nov 9 12:14:13 2016 +0100

    loleaflet: hide debug control in disabled tile debug mode

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 9ac52e6..74cb6e2 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -396,10 +396,12 @@ L.TileLayer = L.GridLayer.extend({
                if (!this._debug) {
                        map.removeLayer(this._debugInfo);
                        map.removeLayer(this._debugInfo2);
+                       $('.leaflet-control-layers-expanded').css('display', 
'none');
                } else {
                        if (this._debugInfo) {
                                map.addLayer(this._debugInfo);
                                map.addLayer(this._debugInfo2);
+                               
$('.leaflet-control-layers-expanded').css('display', 'block');
                        }
                        this._debugInit();
                }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to