fix issues with svgtransform

This commit is contained in:
JFH
2021-08-29 16:05:56 +02:00
parent a74f5cb4df
commit 5846eca53f
5 changed files with 7 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ export const moveSelectedElements = function (dx, dy, undoable = true) {
const selected = selectedElements[i];
if (!isNullish(selected)) {
const xform = elementContext_.getSVGRoot().createSVGTransform();
const tlist = selected.transform.baseVal;
const tlist = selected.transform?.baseVal;
// dx and dy could be arrays
if (Array.isArray(dx)) {