projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17782-react-scripts-ts-migration' into main. Closes #17782
[arvados-workbench2.git]
/
src
/
lib
/
cwl-svg
/
utils
/
geometry.ts
diff --git
a/src/lib/cwl-svg/utils/geometry.ts
b/src/lib/cwl-svg/utils/geometry.ts
index 11b066d97d5269126a7c0e38a19daa6fd3c0510f..348a7e200e327a03e473a2a7fc10457ad10737b7 100644
(file)
--- a/
src/lib/cwl-svg/utils/geometry.ts
+++ b/
src/lib/cwl-svg/utils/geometry.ts
@@
-16,7
+16,7
@@
export class Geometry {
} else {
// node still has parent elements
const {e, f} = node.transform.baseVal.getItem(0).matrix;
} else {
// node still has parent elements
const {e, f} = node.transform.baseVal.getItem(0).matrix;
- return getPosition(
<SVGGElement>node.parentNode
, e + addE, f + addF);
+ return getPosition(
node.parentNode as SVGGElement
, e + addE, f + addF);
}
};
}
};