diff --git a/blocks.js b/blocks.js index 1e1e0d79..fd9bfc7a 100644 --- a/blocks.js +++ b/blocks.js @@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2018-July-13'; +modules.blocks = '2018-September-09'; var SyntaxElementMorph; var BlockMorph; @@ -8664,9 +8664,10 @@ InputSlotMorph.prototype.shadowedVariablesMenu = function () { if (!block) {return dict; } rcvr = block.scriptTarget(); - if (this.parentThatIsA(RingMorph)) { + if (this.parentThatIsA(RingMorph) || + this.topBlock().selector === 'receiveOnClone') { // show own local vars and attributes, because this is likely to be - // inside TELL, ASK or OF + // inside TELL, ASK or OF or when initializing a new clone vars = rcvr.variables.names(); vars.forEach(function (name) { dict[name] = name; diff --git a/history.txt b/history.txt index 28b36703..a4721b5f 100755 --- a/history.txt +++ b/history.txt @@ -4306,3 +4306,4 @@ Fixes: ------ * new dev version * Threads: fixed #2176 ('arguments' not found for calling empty multi-slots) +* Blocks: enabled drop-down for "inherit" command for clone-initialization scripts diff --git a/snap.html b/snap.html index 83f3624b..f44bfab0 100755 --- a/snap.html +++ b/snap.html @@ -6,7 +6,7 @@ - +