Skip to content

Commit

Permalink
bug: Rename the blockly icon CSS classes to use camelCase (#8329) (#8335
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ga-fleury authored Jul 12, 2024
1 parent f45270e commit 9ba791c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/icons/comment_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class CommentIcon extends Icon implements IHasBubble, ISerializable {
},
this.svgRoot,
);
dom.addClass(this.svgRoot!, 'blockly-icon-comment');
dom.addClass(this.svgRoot!, 'blocklyCommentIcon');
}

override dispose() {
Expand Down
2 changes: 1 addition & 1 deletion core/icons/mutator_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class MutatorIcon extends Icon implements IHasBubble {
{'class': 'blocklyIconShape', 'r': '2.7', 'cx': '8', 'cy': '8'},
this.svgRoot,
);
dom.addClass(this.svgRoot!, 'blockly-icon-mutator');
dom.addClass(this.svgRoot!, 'blocklyMutatorIcon');
}

override dispose(): void {
Expand Down
2 changes: 1 addition & 1 deletion core/icons/warning_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class WarningIcon extends Icon implements IHasBubble {
},
this.svgRoot,
);
dom.addClass(this.svgRoot!, 'blockly-icon-warning');
dom.addClass(this.svgRoot!, 'blocklyWarningIcon');
}

override dispose() {
Expand Down

0 comments on commit 9ba791c

Please sign in to comment.