kopia lustrzana https://github.com/backface/turtlestitch
Fixed costume editing discrepancies
rodzic
60942484e6
commit
4063622e26
|
@ -6938,13 +6938,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