Fix crash for elbow arrws in mutateElement()
This commit is contained in:
parent
b696b7bf98
commit
b04814cca7
@ -362,6 +362,7 @@ export const isFixedPointBinding = (
|
|||||||
binding: PointBinding | FixedPointBinding,
|
binding: PointBinding | FixedPointBinding,
|
||||||
): binding is FixedPointBinding => {
|
): binding is FixedPointBinding => {
|
||||||
return (
|
return (
|
||||||
|
binding != null &&
|
||||||
Object.hasOwn(binding, "fixedPoint") &&
|
Object.hasOwn(binding, "fixedPoint") &&
|
||||||
(binding as FixedPointBinding).fixedPoint != null
|
(binding as FixedPointBinding).fixedPoint != null
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user