Use this.addCostume instead of IDE

pull/3/merge
Viraj Mahesh 2014-03-07 15:05:50 -08:00
rodzic 8a74747cd7
commit 4888ecb9ec
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3717,7 +3717,7 @@ SpriteMorph.prototype.doScreenshot = function (data) {
ide = this.parentThatIsA(IDE_Morph),
screenshotName = data,
costume = new Costume(canvas, screenshotName);
ide.currentSprite.addCostume(costume);
this.addCostume(costume);
};
// SpriteHighlightMorph /////////////////////////////////////////////////