refactor(react): add setAttributes for dimension changes

This commit is contained in:
moklick
2024-04-22 14:51:23 +02:00
parent 973a3ddd35
commit 7e8bcd8825
5 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ export function handleExpandParent(
changes.push({
id: parentId,
type: 'dimensions',
resizing: true,
setAttributes: true,
dimensions: {
width: Math.max(dimensions.width, Math.round(expandedRect.width)),
height: Math.max(dimensions.height, Math.round(expandedRect.height)),