loleaflet/src/layer/vector/SVGGroup.js | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit d06716ec0ecae38c26fb6f2b4d23d4d6333f400c Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Sun Sep 29 16:37:47 2019 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Sun Sep 29 16:37:47 2019 +0200 lolealet: !this._map is checked in the previous if statement Change-Id: I08fe710eaaafd21a8c1ee484c196ef427f663dda diff --git a/loleaflet/src/layer/vector/SVGGroup.js b/loleaflet/src/layer/vector/SVGGroup.js index 203d0f63a..132426d44 100644 --- a/loleaflet/src/layer/vector/SVGGroup.js +++ b/loleaflet/src/layer/vector/SVGGroup.js @@ -57,9 +57,6 @@ L.SVGGroup = L.Layer.extend({ if (!this._map || !this._dragShape || !this.dragging) return; - if (!this._map) - return; - this._moved = false; if (!this.options.manualDrag) { @@ -83,9 +80,6 @@ L.SVGGroup = L.Layer.extend({ if (!this._map || !this._dragShape || !this.dragging) return; - if (!this._map) - return; - if (!this._moved) { this._moved = true; this._showEmbeddedSVG(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits