in progress

This commit is contained in:
JFH
2021-12-27 00:14:18 -03:00
parent c786faf328
commit cdc5b8cc75
10 changed files with 567 additions and 1718 deletions

View File

@@ -61,7 +61,6 @@ export const getGripPtMethod = function (seg, altPt) {
const pt = transformPoint(out.x, out.y, pth.matrix);
out = pt;
}
svgCanvas = svgCanvas.getEditorContext();
const zoom = svgCanvas.getZoom();
out.x *= zoom;
out.y *= zoom;
@@ -85,7 +84,6 @@ export const getPointFromGripMethod = function (pt, pth) {
out.x = pt.x;
out.y = pt.y;
}
svgCanvas = svgCanvas.getEditorContext();
const zoom = svgCanvas.getZoom();
out.x /= zoom;
out.y /= zoom;