kopia lustrzana https://github.com/backface/turtlestitch
fixed #820
rodzic
1cb1281335
commit
03c4acd367
|
|
@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.blocks = '2015-May-01';
|
modules.blocks = '2015-June-08';
|
||||||
|
|
||||||
|
|
||||||
var SyntaxElementMorph;
|
var SyntaxElementMorph;
|
||||||
|
|
@ -3066,6 +3066,11 @@ BlockMorph.prototype.fullCopy = function () {
|
||||||
ans.allChildren().filter(function (block) {
|
ans.allChildren().filter(function (block) {
|
||||||
if (block instanceof SyntaxElementMorph) {
|
if (block instanceof SyntaxElementMorph) {
|
||||||
block.cachedInputs = null;
|
block.cachedInputs = null;
|
||||||
|
if (block instanceof InputSlotMorph) {
|
||||||
|
block.contents().clearSelection();
|
||||||
|
}
|
||||||
|
} else if (block instanceof CursorMorph) {
|
||||||
|
block.destroy();
|
||||||
}
|
}
|
||||||
return !isNil(block.comment);
|
return !isNil(block.comment);
|
||||||
}).forEach(function (block) {
|
}).forEach(function (block) {
|
||||||
|
|
|
||||||
|
|
@ -2512,3 +2512,7 @@ ______
|
||||||
150523
|
150523
|
||||||
------
|
------
|
||||||
* BYOB: Fix encoding glitch
|
* BYOB: Fix encoding glitch
|
||||||
|
|
||||||
|
150608
|
||||||
|
------
|
||||||
|
* Blocks: Fixed #820
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue