From c9a1e9afe3aaebbbb4e6d0a075c3f3b5f84658c4 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 28 Aug 2024 16:24:25 -0700 Subject: [PATCH] fix drag overlay losing rect changes --- frontend/layout/lib/TileLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/layout/lib/TileLayout.tsx b/frontend/layout/lib/TileLayout.tsx index 3d9a2906a..ff9bf3eb9 100644 --- a/frontend/layout/lib/TileLayout.tsx +++ b/frontend/layout/lib/TileLayout.tsx @@ -335,7 +335,7 @@ const OverlayNode = memo(({ node, layoutModel }: OverlayNodeProps) => { } }), }), - [node, additionalProps, layoutModel.displayContainerRef] + [node, additionalProps?.rect, layoutModel.displayContainerRef] ); // Register the overlay node as a drop target