kopia lustrzana https://github.com/backface/turtlestitch
catch block label part issues, prevent palette from not showing
rodzic
23e8e018bd
commit
bcf1c39782
|
@ -150,7 +150,7 @@ CustomCommandBlockMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2017-February-02';
|
||||
modules.blocks = '2017-February-07';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -2276,6 +2276,10 @@ BlockMorph.prototype.setSpec = function (spec, silently) {
|
|||
inputIdx += 1;
|
||||
}
|
||||
part = myself.labelPart(word);
|
||||
if (isNil(part)) {
|
||||
// console.log('could not create label part', word);
|
||||
return;
|
||||
}
|
||||
myself.add(part);
|
||||
if (!(part instanceof CommandSlotMorph ||
|
||||
part instanceof StringMorph)) {
|
||||
|
|
|
@ -3354,3 +3354,7 @@ Fixes:
|
|||
------
|
||||
* Objects, BYOB: highly experimental custom block inheritance, under construction…
|
||||
* Blocks: fixed #1650
|
||||
|
||||
170207
|
||||
------
|
||||
* Blocks: catch block label part issues, prevent palette from not showing
|
||||
|
|
Ładowanie…
Reference in New Issue