Update procedures.js

When I use [Rename variable...] in procedure definition block.
The argument name for calling procedure has not changed.
This commit is contained in:
TangHu2018
2019-02-02 05:54:45 +09:00
committed by GitHub
parent 38e3051fa0
commit 6b9d98f592

View File

@@ -298,6 +298,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
}
if (change) {
this.displayRenamedVar_(oldName, newVar.name);
Blockly.Procedures.mutateCallers(this);
}
},
/**
@@ -320,6 +321,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
}
if (change) {
this.displayRenamedVar_(oldName, newName);
Blockly.Procedures.mutateCallers(this);
}
},
/**