diff --git a/HISTORY.md b/HISTORY.md index 75dbb5b2..cb4353a6 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -41,6 +41,7 @@ ### 2019-02-07 * Store: tweaked loading mechanism to enable command blocks inside reporter rings * Objects: tweaked spec for settings getter +* Blocks: improved dropping command blocks into reporter rings ### 2019-02-06 * Blocks, BYOB: refactored custom block input options and drop-down menus diff --git a/src/blocks.js b/src/blocks.js index a59898fc..2fb18a92 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -11661,8 +11661,7 @@ RingReporterSlotMorph.prototype.attachTargets = function () { RingReporterSlotMorph.prototype.nestedBlock = function (block) { if (block) { var nb = this.nestedBlock(); - this.contents().destroy(); - this.add(block); + this.silentReplaceInput(this.children[0], block); if (nb) { block.bottomBlock().nextBlock(nb); }