Skip to content

Commit ec6e951

Browse files
authored
release: v9.3.2
Merge pull request google#6955 from google/rc/v9.3.2
2 parents cf850d5 + 860dddd commit ec6e951

File tree

4 files changed

+4
-17
lines changed

4 files changed

+4
-17
lines changed

core/block_dragger.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export class BlockDragger implements IBlockDragger {
346346

347347
/** Fire a move event at the end of a block drag. */
348348
protected fireMoveEvent_() {
349+
if (this.draggingBlock_.isDeadOrDying()) return;
349350
const event = new (eventUtils.get(eventUtils.BLOCK_MOVE))(
350351
this.draggingBlock_) as BlockMove;
351352
event.oldCoordinate = this.startXY_;

core/mutator.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -460,21 +460,7 @@ export class Mutator extends Icon {
460460
const block = this.getBlock();
461461
const oldExtraState = BlockChange.getExtraBlockState_(block);
462462

463-
// Switch off rendering while the source block is rebuilt.
464-
const savedRendered = block.rendered;
465-
// TODO(#4288): We should not be setting the rendered property to false.
466-
block.rendered = false;
467-
468-
// Allow the source block to rebuild itself.
469463
block.compose!(this.rootBlock);
470-
// Restore rendering and show the changes.
471-
block.rendered = savedRendered;
472-
// Mutation may have added some elements that need initializing.
473-
block.initSvg();
474-
475-
if (block.rendered) {
476-
block.render();
477-
}
478464

479465
const newExtraState = BlockChange.getExtraBlockState_(block);
480466
if (oldExtraState !== newExtraState) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockly",
3-
"version": "9.3.1",
3+
"version": "9.3.2",
44
"description": "Blockly is a library for building visual programming editors.",
55
"keywords": [
66
"blockly"

0 commit comments

Comments
 (0)