Merge branch 'master' of https://github.com/SVG-Edit/svgedit into issues/631

This commit is contained in:
agriyadev5
2021-09-21 14:17:27 +05:30
30 changed files with 301 additions and 352 deletions

View File

@@ -81,14 +81,6 @@ export default {
}
});
/*
// Make sure shape uses absolute values
if ((/[a-z]/).test(currentD)) {
currentD = curLib.data[curShapeId] = canv.pathActions.convertPath(curShape);
curShape.setAttribute('d', currentD);
canv.pathActions.fixEnd(curShape);
}
*/
curShape.setAttribute('transform', 'translate(' + x + ',' + y + ') scale(0.005) translate(' + -x + ',' + -y + ')');
canv.recalculateDimensions(curShape);