mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
[zelos] Fix breakout loop block (#3545)
* Fix breakout loop block by only applying the small padding if the block doesn't have a statement input
This commit is contained in:
@@ -513,7 +513,7 @@ Blockly.zelos.RenderInfo.prototype.finalizeVerticalAlignment_ = function() {
|
||||
prevSpacer.height -= this.constants_.GRID_UNIT;
|
||||
nextSpacer.height -= this.constants_.GRID_UNIT;
|
||||
}
|
||||
} else if (hasPrevNotch && !hasNextNotch) {
|
||||
} else if (i != 2 && hasPrevNotch && !hasNextNotch) {
|
||||
// Add a small padding so the notch doesn't interfere with inputs/fields.
|
||||
prevSpacer.height += this.constants_.SMALL_PADDING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user