diff --git a/core/block_render_svg_horizontal.js b/core/block_render_svg_horizontal.js index 209b544c0a..bd4439ae3f 100644 --- a/core/block_render_svg_horizontal.js +++ b/core/block_render_svg_horizontal.js @@ -246,7 +246,7 @@ Blockly.BlockSvg.prototype.getHeightWidth = function(opt_ignoreFields) { // Recursively add size of subsequent blocks. var nextBlock = this.getNextBlock(); if (nextBlock) { - var nextHeightWidth = nextBlock.getHeightWidth(); + var nextHeightWidth = nextBlock.getHeightWidth(opt_ignoreFields); width += nextHeightWidth.width; height = Math.max(height, nextHeightWidth.height); }