mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Adding check for pushing last row with only empty dummy input. (#3081)
This commit is contained in:
@@ -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_();
|
||||
|
||||
Reference in New Issue
Block a user