diff --git a/core/field.js b/core/field.js index 692caa96a2..8a5963258b 100644 --- a/core/field.js +++ b/core/field.js @@ -655,8 +655,7 @@ Blockly.Field.prototype.setText = function(newText) { * @package */ Blockly.Field.prototype.forceRerender = function() { - // Set width to 0 to force a rerender of this field. - this.size_.width = 0; + this.render_(); if (this.sourceBlock_ && this.sourceBlock_.rendered) { this.sourceBlock_.render();