kopia lustrzana https://github.com/backface/turtlestitch
fixed #1800. Thanks, Ken, for the bug report!
rodzic
c78099ada5
commit
10e09ec3f2
|
@ -150,7 +150,7 @@ CustomCommandBlockMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2017-July-04';
|
||||
modules.blocks = '2017-July-12';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -6683,7 +6683,7 @@ ScriptsMorph.prototype.scriptTarget = function () {
|
|||
}
|
||||
editor = this.parentThatIsA(BlockEditorMorph);
|
||||
if (editor) {
|
||||
return editor.target.currentSprite;
|
||||
return editor.target;
|
||||
}
|
||||
throw new Error('script target bannot be found for orphaned scripts');
|
||||
};
|
||||
|
|
|
@ -3528,6 +3528,11 @@ Fixes:
|
|||
* Objects: fixed custom block inheritance for traditional Scratch-like clones
|
||||
* Objects: optimized deleting traditional Scratch-like cones
|
||||
|
||||
170712
|
||||
------
|
||||
* Blocks: fixed #1800. Thanks, Ken, for the bug report!
|
||||
|
||||
|
||||
|
||||
Features:
|
||||
* polymorphic sprite-local custom blocks
|
||||
|
|
Ładowanie…
Reference in New Issue