From b0169ab7240ad85e43ab4842b5bc240b2233a804 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Wed, 10 Jul 2024 15:54:56 -0700 Subject: [PATCH] fix: use the correct with in getBoundingRectangleWithoutChildren(). --- core/block_svg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_svg.ts b/core/block_svg.ts index bc02ef638..79f548caf 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -457,7 +457,7 @@ export class BlockSvg getBoundingRectangleWithoutChildren(): Rect { return this.getBoundingRectangleWithDimensions({ height: this.height, - width: this.width, + width: this.childlessWidth, }); }