refactor(changes): allow set attributes to be width or height

This commit is contained in:
moklick
2025-04-17 13:22:56 +02:00
parent a7d10ffce5
commit cb6f0736dd
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export type NodeDimensionChange = {
/* if this is true, the node is currently being resized via the NodeResizer */
resizing?: boolean;
/* if this is true, we will set width and height of the node and not just the measured dimensions */
setAttributes?: boolean;
setAttributes?: boolean | 'width' | 'height';
};
export type NodePositionChange = {