diff --git a/core/block_svg.js b/core/block_svg.js index cb8708cb7..9db42e1b6 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -1542,11 +1542,7 @@ Blockly.BlockSvg.prototype.render = function(opt_bubble) { Blockly.Field.startCache(); this.rendered = true; // TODO (#2702): Choose an API for picking the renderer. - if (Blockly.renderMode == 'compatibility') { - Blockly.blockRendering.render(this); - } else { - this.renderInternal(); - } + Blockly.blockRendering.render(this); // No matter how we rendered, connection locations should now be correct. this.updateConnectionLocations_(); if (opt_bubble !== false) {