mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Reduce an empty row surrounded by statement inputs to match size of bottom row (#3544)
This commit is contained in:
@@ -197,8 +197,7 @@ Blockly.zelos.RenderInfo.prototype.getSpacerRowHeight_ = function(
|
||||
var height = Math.max(this.constants_.MEDIUM_PADDING,
|
||||
Math.max(this.constants_.NOTCH_HEIGHT, cornerHeight));
|
||||
return precedesStatement && followsStatement ?
|
||||
Math.max(height,
|
||||
cornerHeight * 2 + this.constants_.DUMMY_INPUT_MIN_HEIGHT) : height;
|
||||
Math.max(height, this.constants_.DUMMY_INPUT_MIN_HEIGHT) : height;
|
||||
}
|
||||
if ((Blockly.blockRendering.Types.isBottomRow(next))) {
|
||||
if (!this.outputConnection) {
|
||||
|
||||
Reference in New Issue
Block a user