Remove call to renderInternal

This commit is contained in:
Rachel Fenichel
2019-08-14 14:48:25 -07:00
parent 3e85d7b05a
commit 9325e993b2

View File

@@ -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) {