diff --git a/index.html b/index.html
index 1d9727ba..e2be2515 100644
--- a/index.html
+++ b/index.html
@@ -8039,7 +8039,7 @@
-
+
diff --git a/utils/pathUtils.js b/utils/pathUtils.js
index 4f023595..a81720a4 100644
--- a/utils/pathUtils.js
+++ b/utils/pathUtils.js
@@ -78,11 +78,10 @@ function getBorderPath(vertices, vertexChain, discontinue) {
}
const operation = discontinued ? "M" : "L";
- const command = operation === lastOperation ? "" : operation;
-
discontinued = false;
lastOperation = operation;
+ const command = operation === "L" && operation === lastOperation ? "" : operation;
return ` ${command}${vertices.p[vertexId]}`;
});
diff --git a/versioning.js b/versioning.js
index 5a416d6d..3b86e7d1 100644
--- a/versioning.js
+++ b/versioning.js
@@ -12,7 +12,7 @@
*
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.105.7";
+const VERSION = "1.105.8";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{