From 63839fec60c838dd312bdad63080cac4b096cb4c Mon Sep 17 00:00:00 2001 From: mert Date: Thu, 25 Feb 2021 09:44:34 +0300 Subject: [PATCH] Show rectangle bounds while moving the shape Change-Id: Ic9a305267ab64e87d503db688555feb01647114d Signed-off-by: mert --- loleaflet/src/layer/vector/Path.Transform.js | 1 + 1 file changed, 1 insertion(+) diff --git a/loleaflet/src/layer/vector/Path.Transform.js b/loleaflet/src/layer/vector/Path.Transform.js index 8cf1ce3fc..8c1608d1c 100644 --- a/loleaflet/src/layer/vector/Path.Transform.js +++ b/loleaflet/src/layer/vector/Path.Transform.js @@ -1190,6 +1190,7 @@ L.Handler.PathTransform = L.Handler.extend({ */ _onDragStart: function() { this._hideHandlers(); + this._rect.options.opacity = 1; this._map.addLayer(this._rect); },