Skip to content

Commit b88705a

Browse files
committed
chore: update dependencies to the latest version
1 parent ec918e2 commit b88705a

File tree

3 files changed

+42
-18
lines changed

3 files changed

+42
-18
lines changed

package-lock.json

Lines changed: 37 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"dependencies": {
3232
"@blockly/continuous-toolbox": "^7.0.1",
33-
"@blockly/field-colour": "^6.0.1",
34-
"blockly": "^12.1.0"
33+
"@blockly/field-colour": "^6.0.3",
34+
"blockly": "^12.2.0"
3535
}
3636
}

src/scratch_comment_bubble.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ export class ScratchCommentBubble
2222
private dragStartLocation?: Blockly.utils.Coordinate;
2323

2424
constructor(sourceBlock: Blockly.BlockSvg) {
25-
super(sourceBlock.workspace);
25+
const commentId = `${sourceBlock.id}_comment`;
26+
super(sourceBlock.workspace, commentId);
2627
this.sourceBlock = sourceBlock;
2728
this.disposing = false;
28-
this.id = `${sourceBlock.id}_comment`;
29+
this.id = commentId;
2930
this.setPlaceholderText(Blockly.Msg.WORKSPACE_COMMENT_DEFAULT_TEXT);
3031
this.getSvgRoot().setAttribute(
3132
"style",

0 commit comments

Comments
 (0)