Adding check for pushing last row with only empty dummy input. (#3081)

This commit is contained in:
Monica Kozbial
2019-09-24 13:41:26 -07:00
committed by GitHub
parent 76af463ec4
commit 303a841685

View File

@@ -245,7 +245,7 @@ Blockly.blockRendering.RenderInfo.prototype.createRows_ = function() {
new Blockly.blockRendering.JaggedEdge(this.constants_));
}
if (activeRow.elements.length) {
if (activeRow.elements.length || activeRow.hasDummyInput) {
this.rows.push(activeRow);
}
this.populateBottomRow_();