diff --git a/snap.html b/snap.html index dad4c40f..3c0cb1cd 100755 --- a/snap.html +++ b/snap.html @@ -7,7 +7,7 @@ - + diff --git a/src/blocks.js b/src/blocks.js index 43b711b8..5c8c2d0b 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2020-June-24'; +modules.blocks = '2020-July-02'; var SyntaxElementMorph; var BlockMorph; @@ -2056,7 +2056,9 @@ SyntaxElementMorph.prototype.fixLayout = function () { if (this instanceof BlockMorph && this.parent && this.parent.fixLayout) { this.parent.fixLayout(); this.parent.changed(); - return; + if (this.parent instanceof SyntaxElementMorph) { + return; + } } this.fixHighlight();