jmoenig 2018-06-15 12:39:10 +02:00
rodzic 5d3036ae02
commit bc6e09d893
2 zmienionych plików z 11 dodań i 5 usunięć

Wyświetl plik

@ -108,7 +108,7 @@ BooleanSlotMorph, XML_Serializer, SnapTranslator*/
// Global stuff ////////////////////////////////////////////////////////
modules.byob = '2018-June-06';
modules.byob = '2018-June-15';
// Declarations
@ -2201,11 +2201,13 @@ BlockEditorMorph.prototype.close = function () {
block = detect(
this.body.contents.allChildren(),
function (morph) {
return morph.definition && !morph.definition.isGlobal;
return morph.isCustomBlock && !morph.isGlobal;
}
);
if (block) {
block = block.definition.blockInstance();
block = block.scriptTarget()
.getMethod(block.semanticSpec)
.blockInstance();
block.addShadow();
new DialogBoxMorph().inform(
'Local Block(s) in Global Definition',

Wyświetl plik

@ -4158,6 +4158,10 @@ in development:
* Threads: Prevent terminated threads from launching new ones
* prepared v4.2 rc
180615
------
* BYOB: fixed #2043 (regression)
=== v4.2 major release (draft) ===
@ -4184,5 +4188,5 @@ Notable Fixes:
* no more "leftover" clones when pressing the stop button or executing the STOP block
Translation Updates:
* German
* Portuguese
* German, thanks, Jadga!
* Portuguese, thanks, Manuel!