Merge pull request #2827 from rachel-fenichel/delete_old_rendering

DELETE CODE
This commit is contained in:
Rachel Fenichel
2019-08-14 14:53:56 -07:00
committed by GitHub
2 changed files with 1 additions and 984 deletions

File diff suppressed because it is too large Load Diff

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