mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fix hat spacing
This commit is contained in:
parent
ca0b32a613
commit
cf93f2c092
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ Blockly.VerticalFlyout.prototype.layout_ = function(contents, gaps) {
|
|||
|
||||
this.addBlockListeners_(root, block, rect);
|
||||
|
||||
cursorY += blockHW.height + gaps[i];
|
||||
cursorY += blockHW.height + gaps[i] + (block.startHat_ ? Blockly.BlockSvg.START_HAT_HEIGHT : 0);
|
||||
} else if (item.type == 'button') {
|
||||
var button = item.button;
|
||||
var buttonSvg = button.createDom();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue