fix drag overlay losing rect changes

This commit is contained in:
Evan Simkowitz 2024-08-28 16:24:25 -07:00
parent 59979b13e7
commit c9a1e9afe3
No known key found for this signature in database

View File

@ -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