mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
fix: incorrect blockchange firing (#7492)
* BlockChange event disabled * BlockChange event disabled * executed command (npm run format)
This commit is contained in:
@@ -1672,8 +1672,11 @@ export class Block implements IASTNodeLocation, IDeletable {
|
||||
}
|
||||
|
||||
if (json['inputsInline'] !== undefined) {
|
||||
eventUtils.disable();
|
||||
this.setInputsInline(json['inputsInline']);
|
||||
eventUtils.enable();
|
||||
}
|
||||
|
||||
// Set output and previous/next connections.
|
||||
if (json['output'] !== undefined) {
|
||||
this.setOutput(true, json['output']);
|
||||
|
||||
Reference in New Issue
Block a user