[Libreoffice-commits] online.git: loleaflet/src

Mihai Varga mihai.mv13 at gmail.com
Tue Jun 23 04:56:25 PDT 2015


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

New commits:
commit 1e5269a4675fe1d8c52bc43d4cd9b342cd824e65
Author: Mihai Varga <mihai.mv13 at gmail.com>
Date:   Tue Jun 23 14:56:03 2015 +0300

    Clicking on a selection should deselect it

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index b135334..3ad06a9 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -403,6 +403,7 @@ L.TileLayer = L.GridLayer.extend({
 				var polygons = this._rectanglesToPolygons(rectangles);
 				for (var i = 0; i < polygons.length; i++) {
 					var selection = new L.Polygon(polygons[i], {
+						pointerEvents: 'none',
 						fillColor: '#43ACE8',
 						fillOpacity: 0.25,
 						weight: 2,


More information about the Libreoffice-commits mailing list