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

New commits:
commit 7cb35bff635df9da6917dac4a8857eeb4c2c1208
Author: Henry Castro <hcas...@collabora.com>
Date:   Wed Sep 14 19:30:26 2016 -0400

    loleaflet: view name bind to popup

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index e6e2c7c..89320d4 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1211,10 +1211,11 @@ L.TileLayer = L.GridLayer.extend({
                   (this._docType === 'text' || this._selectedPart === 
viewPart)) {
                        if (!viewMarker) {
                                viewMarker = L.rectangle(viewBounds, {
-                                       pointerEvents: 'none',
+                                       pointerEvents: 'auto',
                                        fill: false,
                                        color: 
L.LOUtil.getViewIdHexColor(viewId)
                                });
+                               
viewMarker.bindPopup(this._map.getViewName(viewId), {autoClose: false});
                                this._graphicViewMarkers[viewId].marker = 
viewMarker;
                        }
                        else {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to