Add resizeSvgContents to block_svg:moveBy (#546)

This commit is contained in:
Tim Mickel 2016-07-26 12:18:38 -04:00 committed by GitHub
parent 07f59f731d
commit 32ec18a6a7

View file

@ -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);
}
};