From 9325e993b24fe1ca7c025758fc7ec595c1f2ee60 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 14 Aug 2019 14:48:25 -0700 Subject: [PATCH] Remove call to renderInternal --- core/block_svg.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) {