From d63eebe7aeae271444779a7c2636909b026f355e Mon Sep 17 00:00:00 2001 From: sussy layers dev <72522395+jwklong@users.noreply.github.com> Date: Sun, 8 Dec 2024 17:52:24 +0000 Subject: [PATCH] fix inputs showing when collapsed --- core/block_render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_render.js b/core/block_render.js index 2328d32a52..2d1857f3b7 100644 --- a/core/block_render.js +++ b/core/block_render.js @@ -1395,7 +1395,7 @@ Blockly.BlockSvg.prototype.renderDrawRight_ = function(steps, inputRows.rightEdge); cursorX = this.renderFields_(input.fieldRow, fieldX, fieldY); - if (input.type == Blockly.INPUT_VALUE) { + if (input.type == Blockly.INPUT_VALUE && !this.isCollapsed()) { // Create inline input connection. // In blocks with a notch, inputs should be bumped to a min X, // to avoid overlapping with the notch.