提交 92053c7e 编写于 作者: B Bogdan Chadkin

Remove broken optimisation

上级 a04b27a1
......@@ -215,10 +215,7 @@ exports.applyTransforms = function (elem, path, params) {
}
// if there is a translate() transform
if (
pathItem.instruction === 'M' &&
(matrix.data[4] !== 0 || matrix.data[5] !== 0)
) {
if (pathItem.instruction === 'M') {
// then apply it only to the first absoluted M
const newPoint = transformPoint(
matrix.data,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册