pull/3/merge
jmoenig 2014-09-30 10:45:21 +02:00
rodzic 71c9103503
commit ebbd0be87a
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2014-September-22';
modules.blocks = '2014-September-30';
var SyntaxElementMorph;
@ -2148,9 +2148,16 @@ BlockMorph.prototype.userMenu = function () {
this.thumbnail(0.5, 60, false),
function () {
var cpy = this.fullCopy(),
nb = cpy.nextBlock();
nb = cpy.nextBlock(),
ide = myself.parentThatIsA(IDE_Morph);
if (nb) {nb.destroy(); }
cpy.pickUp(world);
if (ide) {
world.hand.grabOrigin = {
origin: ide.palette,
position: ide.palette.center()
};
}
},
'only duplicate this block'
);

Wyświetl plik

@ -2289,4 +2289,5 @@ ______
* BYOB: allow percent symbols in custom block texts (fix #361), thanks, @Gubolin!!
* Morphic: allow negative min/max values for sliders (fix #285), thanks, @Gubolin!!
* Objects: fixed #378 (disable context menus for boolean representations)
* Blocks: fixed #584