Skip to content

Commit

Permalink
fix inputs showing when collapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Dec 8, 2024
1 parent 92eb613 commit d63eebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/block_render.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d63eebe

Please sign in to comment.