mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
fix: Don't clober event group when renaming vars (#6829)
* fix: Don't clober event group when renaming vars Also audit all existing event group commands and tweak a few of them where I think there's a potential issue.
This commit is contained in:
@@ -359,9 +359,7 @@ export class Workspace implements IASTNodeLocation {
|
||||
while (this.topComments.length) {
|
||||
this.topComments[this.topComments.length - 1].dispose();
|
||||
}
|
||||
if (!existingGroup) {
|
||||
eventUtils.setGroup(false);
|
||||
}
|
||||
eventUtils.setGroup(existingGroup);
|
||||
this.variableMap.clear();
|
||||
if (this.potentialVariableMap) {
|
||||
this.potentialVariableMap.clear();
|
||||
|
||||
Reference in New Issue
Block a user