Skip to content

Commit 1f8fcde

Browse files
committed
update function name of isVisible
1 parent fba39a0 commit 1f8fcde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Blockly/blocks/procedures.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ Blockly.Blocks["procedures_defnoreturn"] = {
386386
displayRenamedVar_: function (oldName, newName) {
387387
this.updateParams_();
388388
// Update the mutator's variables if the mutator is open.
389-
if (this.mutator.isVisible()) {
389+
if (this.mutator.bubbleIsVisible()) {
390390
const blocks = this.mutator.workspace_.getAllBlocks(false);
391391
for (let i = 0, block; (block = blocks[i]); i++) {
392392
if (
@@ -832,7 +832,7 @@ Blockly.Blocks["procedures_callnoreturn"] = {
832832
this.workspace,
833833
);
834834
const mutatorOpen =
835-
defBlock && defBlock.mutator && defBlock.mutator.isVisible();
835+
defBlock && defBlock.mutator && defBlock.mutator.bubbleIsVisible();
836836
if (!mutatorOpen) {
837837
this.quarkConnections_ = {};
838838
this.quarkIds_ = null;

0 commit comments

Comments
 (0)