mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user