From 03c4acd367dabe946f8091c7ad55f059ad919579 Mon Sep 17 00:00:00 2001 From: Jens Mönig Date: Mon, 8 Jun 2015 15:40:59 +0200 Subject: fixed #820 --- blocks.js | 7 ++++++- history.txt | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/blocks.js b/blocks.js index 8e428d0..67324ca 100644 --- a/blocks.js +++ b/blocks.js @@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2015-May-01'; +modules.blocks = '2015-June-08'; var SyntaxElementMorph; @@ -3066,6 +3066,11 @@ BlockMorph.prototype.fullCopy = function () { ans.allChildren().filter(function (block) { if (block instanceof SyntaxElementMorph) { block.cachedInputs = null; + if (block instanceof InputSlotMorph) { + block.contents().clearSelection(); + } + } else if (block instanceof CursorMorph) { + block.destroy(); } return !isNil(block.comment); }).forEach(function (block) { diff --git a/history.txt b/history.txt index 29c56e5..1262a28 100755 --- a/history.txt +++ b/history.txt @@ -2512,3 +2512,7 @@ ______ 150523 ------ * BYOB: Fix encoding glitch + +150608 +------ +* Blocks: Fixed #820 -- cgit v1.3.1