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

Pranav Kant pranavk at collabora.co.uk
Tue Aug 16 17:14:25 UTC 2016


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

New commits:
commit f41b94796001f9110d2e6d34701761c707921a35
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Tue Aug 16 22:43:48 2016 +0530

    loleaflet: Disable pointer events on graphic marker boundary

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index b9b8752..2053b11 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1137,7 +1137,9 @@ L.TileLayer = L.GridLayer.extend({
 				return;
 			}
 
-			this._graphicMarker = L.rectangle(this._graphicSelection, {fill: false});
+			this._graphicMarker = L.rectangle(this._graphicSelection, {
+				pointerEvents: 'none',
+				fill: false});
 			this._visibleCursor = this._visibleCursorOnLostFocus = this._graphicMarker._bounds;
 			if (!this._graphicMarker) {
 				this._map.fire('error', {msg: 'Graphic marker initialization', cmd: 'marker', kind: 'failed', id: 1});


More information about the Libreoffice-commits mailing list