From 05e9cf126a18472404e82c231615b4aa1cb19822 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Thu, 3 Oct 2019 10:47:27 -0700 Subject: [PATCH] Signs are hard. --- core/renderers/geras/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/renderers/geras/info.js b/core/renderers/geras/info.js index a95a408ac..90f1d8238 100644 --- a/core/renderers/geras/info.js +++ b/core/renderers/geras/info.js @@ -328,7 +328,7 @@ Blockly.geras.RenderInfo.prototype.getElemCenterline_ = function(row, elem) { Blockly.blockRendering.Types.isIcon(elem)) { result += (elem.height / 2); if ((row.hasInlineInput || row.hasStatement) && - elem.height > row.height + this.constants_.TALL_INPUT_FIELD_OFFSET_Y) { + elem.height + this.constants_.TALL_INPUT_FIELD_OFFSET_Y <= row.height) { result += this.constants_.TALL_INPUT_FIELD_OFFSET_Y; } } else if (Blockly.blockRendering.Types.isInlineInput(elem)) {