Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusslezinsky committed Nov 27, 2024
2 parents 8b0c04b + 839c691 commit 7827fb4
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 111 deletions.
3 changes: 1 addition & 2 deletions core/icons/comment_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@ export class CommentIcon extends Icon implements IHasBubble, ISerializable {
* I.E. the block that owns this icon.
*/
private getBubbleOwnerRect(): Rect {
const bbox = (this.sourceBlock as BlockSvg).getSvgRoot().getBBox();
return new Rect(bbox.y, bbox.y + bbox.height, bbox.x, bbox.x + bbox.width);
return (this.sourceBlock as BlockSvg).getBoundingRectangleWithoutChildren();
}
}

Expand Down
191 changes: 82 additions & 109 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7827fb4

Please sign in to comment.