We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 86d5040 commit 8dd7a3bCopy full SHA for 8dd7a3b
plugins/convertPathData.js
@@ -828,15 +828,12 @@ function filters(
828
829
item.command = command;
830
item.args = data;
831
-
832
- prev = item;
833
} else {
834
// z resets coordinates
835
relSubpoint[0] = pathBase[0];
836
relSubpoint[1] = pathBase[1];
837
// @ts-ignore
838
if (prev.command === 'Z' || prev.command === 'z') return false;
839
840
}
841
if (
842
(command === 'Z' || command === 'z') &&
@@ -849,6 +846,7 @@ function filters(
849
846
)
850
847
return false;
851
848
+ prev = item;
852
return true;
853
});
854
test/plugins/convertPathData.29.svg
0 commit comments