summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-07-01 17:43:21 +0200
committerGubolin <gubolin@fantasymail.de>2015-07-01 17:43:21 +0200
commita3cae8db6e442da230a880a26546595afee7a3bd (patch)
treef9a2b3473e65885e1804e2b46f75f883efe1e365 /blocks.js
parentb0d5fca03273d74c009c1415285c0ec375e1f848 (diff)
parent44e4f5d94bc6e448beb46e5d688153c8203d6da8 (diff)
downloadsnap-a3cae8db6e442da230a880a26546595afee7a3bd.tar.gz
snap-a3cae8db6e442da230a880a26546595afee7a3bd.zip
Merge branch 'OOP' into development
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index f75146f..b88bfe3 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;
@@ -3084,6 +3084,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) {