mirror of
https://github.com/google/blockly.git
synced 2026-03-12 08:10:11 +01:00
fix: procedure callers now remove inputs properly (#5751)
This commit is contained in:
@@ -808,7 +808,7 @@ const procedureCall = {
|
||||
}
|
||||
}
|
||||
// Remove deleted inputs.
|
||||
for (let i = this.itemCount_; this.getInput('ARG' + i); i++) {
|
||||
for (let i = this.arguments_.length; this.getInput('ARG' + i); i++) {
|
||||
this.removeInput('ARG' + i);
|
||||
}
|
||||
// Add 'with:' if there are parameters, remove otherwise.
|
||||
|
||||
Reference in New Issue
Block a user