kopia lustrzana https://github.com/backface/turtlestitch
commit
54a3c4bc8b
|
|
@ -6973,13 +6973,13 @@ Costume.prototype.edit = function (aWorld, anIDE, isnew, oncancel, onsubmit) {
|
|||
function (img, rc) {
|
||||
myself.contents = img;
|
||||
myself.rotationCenter = rc;
|
||||
if (anIDE.currentSprite instanceof SpriteMorph) {
|
||||
// don't shrinkwrap stage costumes
|
||||
myself.shrinkWrap();
|
||||
}
|
||||
myself.version = Date.now();
|
||||
aWorld.changed();
|
||||
if (anIDE) {
|
||||
if (anIDE.currentSprite instanceof SpriteMorph) {
|
||||
// don't shrinkwrap stage costumes
|
||||
myself.shrinkWrap();
|
||||
}
|
||||
anIDE.currentSprite.wearCostume(myself);
|
||||
anIDE.hasChangedMedia = true;
|
||||
}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue