kopia lustrzana https://github.com/backface/turtlestitch
update undrop controls on redoing a deletion
rodzic
cbced3a81a
commit
4d2fae6fc8
|
@ -5911,6 +5911,7 @@ ScriptsMorph.prototype.redrop = function () {
|
||||||
if (this.dropRecord.action === 'delete') {
|
if (this.dropRecord.action === 'delete') {
|
||||||
this.recoverLastDrop(true);
|
this.recoverLastDrop(true);
|
||||||
this.dropRecord.lastDroppedBlock.destroy();
|
this.dropRecord.lastDroppedBlock.destroy();
|
||||||
|
this.updateUndropControls();
|
||||||
} else {
|
} else {
|
||||||
this.isAnimating = true;
|
this.isAnimating = true;
|
||||||
this.dropRecord.lastDroppedBlock.slideBackTo(
|
this.dropRecord.lastDroppedBlock.slideBackTo(
|
||||||
|
|
Ładowanie…
Reference in New Issue