Skip to content

Commit

Permalink
Fix: #7557 (#7622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorvgarg-creator authored Oct 31, 2023
1 parent 910abf1 commit 37bfcbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/icons/mutator_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ export class MutatorIcon extends Icon implements IHasBubble {

override onClick(): void {
super.onClick();
this.setBubbleVisible(!this.bubbleIsVisible());
if (this.sourceBlock.isEditable()) {
this.setBubbleVisible(!this.bubbleIsVisible());
}
}

bubbleIsVisible(): boolean {
Expand Down

0 comments on commit 37bfcbc

Please sign in to comment.