diff --git a/core/icons/mutator_icon.ts b/core/icons/mutator_icon.ts index a2987bff2cd..b86ef19c275 100644 --- a/core/icons/mutator_icon.ts +++ b/core/icons/mutator_icon.ts @@ -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 {