From 7d8529c63662146c4e80037ea16f643552e94df0 Mon Sep 17 00:00:00 2001 From: "Lu[ke] Wilson" Date: Fri, 24 Nov 2023 12:21:54 +0000 Subject: [PATCH] always update frame --- src/components/live-image.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/live-image.tsx b/src/components/live-image.tsx index ab3765a..c196529 100644 --- a/src/components/live-image.tsx +++ b/src/components/live-image.tsx @@ -157,9 +157,9 @@ export class LiveImageShapeUtil extends FrameShapeUtil { const iteration = startedIteration.current++; - const shapes = Array.from(editor.getShapeAndDescendantIds([shape.id])) - .filter((id) => id !== shape.id) - .map((id) => editor.getShape(id)) as TLShape[]; + const shapes = Array.from( + editor.getShapeAndDescendantIds([shape.id]) + ).map((id) => editor.getShape(id)) as TLShape[]; // Check if should submit request const shapesDigest = JSON.stringify(shapes);