From ec0ba27afcebef06d1750093927fbb0d13951f70 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Mon, 6 Jan 2020 12:39:07 -0800 Subject: [PATCH] Reduce an empty row surrounded by statement inputs to match size of bottom row (#3544) --- core/renderers/zelos/info.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/renderers/zelos/info.js b/core/renderers/zelos/info.js index 3a05f4369..c4e8b0ef3 100644 --- a/core/renderers/zelos/info.js +++ b/core/renderers/zelos/info.js @@ -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) {