@ngroznykh/papirus 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/papirus.js +2 -2
- package/dist/papirus.js.map +1 -1
- package/package.json +1 -1
package/dist/papirus.js
CHANGED
|
@@ -4626,8 +4626,8 @@ class Edge extends Element {
|
|
|
4626
4626
|
return len;
|
|
4627
4627
|
};
|
|
4628
4628
|
let pts = points;
|
|
4629
|
-
|
|
4630
|
-
|
|
4629
|
+
const remainingStart = Math.max(0, start);
|
|
4630
|
+
const remainingEnd = Math.max(0, end);
|
|
4631
4631
|
const total = totalLength();
|
|
4632
4632
|
if (remainingStart + remainingEnd >= total) {
|
|
4633
4633
|
const mid = points[0];
|