kopia lustrzana https://github.com/backface/turtlestitch
fixed #1522
rodzic
dd51470239
commit
cbced3a81a
|
@ -3967,6 +3967,7 @@ CommandBlockMorph.prototype.userDestroy = function () {
|
|||
}
|
||||
|
||||
var scripts = this.parentThatIsA(ScriptsMorph),
|
||||
parent = this.parentThatIsA(SyntaxElementMorph),
|
||||
cslot = this.parentThatIsA(CSlotMorph);
|
||||
|
||||
// for undrop / redrop
|
||||
|
@ -3981,6 +3982,9 @@ CommandBlockMorph.prototype.userDestroy = function () {
|
|||
if (cslot) {
|
||||
cslot.fixLayout();
|
||||
}
|
||||
if (parent) {
|
||||
parent.reactToGrabOf(this); // fix highlight
|
||||
}
|
||||
};
|
||||
|
||||
CommandBlockMorph.prototype.userDestroyJustThis = function () {
|
||||
|
@ -3990,6 +3994,7 @@ CommandBlockMorph.prototype.userDestroyJustThis = function () {
|
|||
pb,
|
||||
nb = this.nextBlock(),
|
||||
above,
|
||||
parent = this.parentThatIsA(SyntaxElementMorph),
|
||||
cslot = this.parentThatIsA(CSlotMorph);
|
||||
|
||||
// for undrop / redrop
|
||||
|
@ -4022,6 +4027,9 @@ CommandBlockMorph.prototype.userDestroyJustThis = function () {
|
|||
} else if (cslot) {
|
||||
cslot.fixLayout();
|
||||
}
|
||||
if (parent) {
|
||||
parent.reactToGrabOf(this); // fix highlight
|
||||
}
|
||||
};
|
||||
|
||||
// CommandBlockMorph drawing:
|
||||
|
|
|
@ -3159,3 +3159,4 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
|||
* GUI: fixed #1540
|
||||
* Morphic, Blocks, GUI: Filter Project Names in the “open” dialog, thanks, Bernat!!
|
||||
* GUI: update scrollbars of the project dialog as the project list is filtered
|
||||
* Blocks: fixed #1522
|
||||
|
|
Ładowanie…
Reference in New Issue