Skip to content

Commit 174560b

Browse files
authored
fix: Fix positioning of move indicator for blocks with children. (#535)
1 parent 17483e9 commit 174560b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/move_indicator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class MoveIndicatorBubble
8888
* Recalculates this bubble's location, keeping it adjacent to its block.
8989
*/
9090
updateLocation() {
91-
const bounds = this.sourceBlock.getBoundingRectangle();
91+
const bounds = this.sourceBlock.getBoundingRectangleWithoutChildren();
9292
const x = this.sourceBlock.workspace.RTL
9393
? bounds.left + 20
9494
: bounds.right - 20;

0 commit comments

Comments
 (0)