Skip to content

Commit

Permalink
set a default offset for block comments with no position data (#10370)
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll authored Feb 5, 2025
1 parent 02b33cb commit ebef160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxtblocks/plugins/comments/blockComment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class CommentIcon extends Blockly.icons.Icon {
);
}

return undefined;
return new Blockly.utils.Coordinate(16, 16);
}

private clearSavedOffsetData() {
Expand Down

0 comments on commit ebef160

Please sign in to comment.