Remove getCorrectedSize for fields

This commit is contained in:
Rachel Fenichel
2019-08-05 16:01:50 -07:00
parent 109f1ad676
commit 3802a0c960
8 changed files with 69 additions and 134 deletions

View File

@@ -217,7 +217,7 @@ Blockly.blockRendering.Field = function(field, parentInput) {
this.isEditable = field.isCurrentlyEditable();
this.type = 'field';
var size = this.field.getCorrectedSize();
var size = this.field.getSize();
this.height = size.height;
this.width = size.width;
this.parentInput = parentInput;