[Libreoffice-commits] online.git: loleaflet/src
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 29 14:38:50 UTC 2019
loleaflet/src/layer/vector/SVGGroup.js | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit d06716ec0ecae38c26fb6f2b4d23d4d6333f400c
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Sun Sep 29 16:37:47 2019 +0200
Commit: Andras Timar <andras.timar at 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();
More information about the Libreoffice-commits
mailing list