mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
@ -323,6 +323,11 @@ const applyMatrixToPathData = (pathData, matrix) => {
|
||||
args[6] = y;
|
||||
}
|
||||
|
||||
if (command === 'z' || command === 'Z') {
|
||||
cursor[0] = start[0];
|
||||
cursor[1] = start[1];
|
||||
}
|
||||
|
||||
pathItem.instruction = command;
|
||||
pathItem.data = args;
|
||||
}
|
||||
|
Reference in New Issue
Block a user