This commit is contained in:
Apoorv Garg
2023-11-01 00:10:15 +05:30
committed by GitHub
parent 910abf1bb8
commit 37bfcbc31e

View File

@@ -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 {