mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Add resizeSvgContents
to block_svg:moveBy (#546)
This commit is contained in:
parent
07f59f731d
commit
32ec18a6a7
1 changed files with 1 additions and 0 deletions
|
@ -437,6 +437,7 @@ Blockly.BlockSvg.prototype.moveBy = function(dx, dy) {
|
|||
this.moveConnections_(dx, dy);
|
||||
if (eventsEnabled) {
|
||||
event.recordNew();
|
||||
Blockly.resizeSvgContents(this.workspace);
|
||||
Blockly.Events.fire(event);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue