Jens Mönig 2017-02-02 12:06:05 +01:00
rodzic 00e68ade1a
commit 8e33ab39c4
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -150,7 +150,7 @@ CustomCommandBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2017-January-27';
modules.blocks = '2017-February-02';
var SyntaxElementMorph;
var BlockMorph;
@ -2515,9 +2515,13 @@ BlockMorph.prototype.userMenu = function () {
function () {
var cpy = myself.fullCopy(),
nb = cpy.nextBlock(),
ide = myself.parentThatIsA(IDE_Morph);
ide = myself.parentThatIsA(IDE_Morph),
blockEditor = myself.parentThatIsA(BlockEditorMorph);
if (nb) {nb.destroy(); }
cpy.pickUp(world);
if (!ide && blockEditor) {
ide = blockEditor.target.parentThatIsA(IDE_Morph);
}
if (ide) {
world.hand.grabOrigin = {
origin: ide.palette,

Wyświetl plik

@ -3353,3 +3353,4 @@ Fixes:
170202
------
* Objects, BYOB: highly experimental custom block inheritance, under construction…
* Blocks: fixed #1650