thanks, @bromagosa, for reporting it!
pull/3/merge
jmoenig 2014-07-29 08:21:25 +02:00
rodzic c0b91b5fa2
commit e572da6f65
2 zmienionych plików z 14 dodań i 2 usunięć

Wyświetl plik

@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2014-July-18';
modules.blocks = '2014-July-29';
var SyntaxElementMorph;
@ -2093,7 +2093,15 @@ BlockMorph.prototype.userMenu = function () {
menu.addItem(
"duplicate",
function () {
this.fullCopy().pickUp(world);
var dup = myself.fullCopy(),
ide = myself.parentThatIsA(IDE_Morph);
dup.pickUp(world);
if (ide) {
world.hand.grabOrigin = {
origin: ide.palette,
position: ide.palette.center()
};
}
},
'make a copy\nand pick it up'
);

Wyświetl plik

@ -2238,3 +2238,7 @@ ______
------
* Lists: fixed "Load Failed Type Error Cannot read property 'isLinked' of null"
* Threads: enable “JS function” block to create custom control structures and HOFs
140729
------
* fixed #526, thanks, Bernat, for reporting it!