loleaflet/src/layer/tile/TileLayer.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 9ec2aba359c82976f5ff0f66a39744771387a1b5 Author: Pranav Kant <pran...@collabora.co.uk> Date: Tue Aug 16 13:59:41 2016 +0530 loleaflet: Disable pointer events on cell cursor otherwise, it would invoke browser's context menu upon right-clicking on the cell cursor (border of the cell; on black lines) diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 0634703..b9b8752 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -1188,7 +1188,11 @@ L.TileLayer = L.GridLayer.extend({ if (this._cellCursorMarker) { this._map.removeLayer(this._cellCursorMarker); } - this._cellCursorMarker = L.rectangle(this._cellCursor, {fill: false, color: '#000000', weight: 2}); + this._cellCursorMarker = L.rectangle(this._cellCursor, { + pointerEvents: 'none', + fill: false, + color: '#000000', + weight: 2}); if (!this._cellCursorMarker) { this._map.fire('error', {msg: 'Cell Cursor marker initialization', cmd: 'cellCursor', kind: 'failed', id: 1}); return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits