kopia lustrzana https://github.com/backface/turtlestitch
fixed #1650
rodzic
00e68ade1a
commit
8e33ab39c4
|
@ -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,
|
||||
|
|
|
@ -3353,3 +3353,4 @@ Fixes:
|
|||
170202
|
||||
------
|
||||
* Objects, BYOB: highly experimental custom block inheritance, under construction…
|
||||
* Blocks: fixed #1650
|
||||
|
|
Ładowanie…
Reference in New Issue