mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Merge branch 'develop' into ensure-immovable-blocks-are-considered-during-workspace-tidying
This commit is contained in:
@@ -543,9 +543,7 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
|
||||
|
||||
// Update all blocks in workspace that have a style name.
|
||||
this.updateBlockStyles_(
|
||||
this.getAllBlocks(false).filter(function (block) {
|
||||
return !!block.getStyleName();
|
||||
}),
|
||||
this.getAllBlocks(false).filter((block) => !!block.getStyleName()),
|
||||
);
|
||||
|
||||
// Update current toolbox selection.
|
||||
|
||||
Reference in New Issue
Block a user