mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Set statement input height to be the max of the default statement input and the row height. (#3436)
This commit is contained in:
@@ -590,6 +590,7 @@ Blockly.blockRendering.RenderInfo.prototype.alignStatementRow_ = function(row) {
|
||||
var rightCornerWidth = this.constants_.INSIDE_CORNERS.rightWidth || 0;
|
||||
desiredWidth = this.width - this.startX - rightCornerWidth;
|
||||
statementInput.width += (desiredWidth - currentWidth);
|
||||
statementInput.height = Math.max(statementInput.height, row.height);
|
||||
row.width += (desiredWidth - currentWidth);
|
||||
row.widthWithConnectedBlocks = Math.max(row.width,
|
||||
this.statementEdge + row.connectedBlockWidths);
|
||||
|
||||
Reference in New Issue
Block a user