diff options
| author | Jens Mönig <jens@moenig.org> | 2015-06-08 15:40:59 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-06-08 15:40:59 +0200 |
| commit | 03c4acd367dabe946f8091c7ad55f059ad919579 (patch) | |
| tree | 3f8dc6d911e34dccbfb44e4542022ab5b9f99f1a /blocks.js | |
| parent | 1cb12813352309914de12261aff449c5e398ffdb (diff) | |
| download | snap-03c4acd367dabe946f8091c7ad55f059ad919579.tar.gz snap-03c4acd367dabe946f8091c7ad55f059ad919579.zip | |
fixed #820
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) { |
