Fixed errors that arose from not using fullImageClassic()

pull/3/merge
Viraj Mahesh 2014-02-25 17:34:31 -08:00
rodzic 341d27092e
commit e889dc224e
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -3703,12 +3703,11 @@ SpriteMorph.prototype.reactToDropOf = function (morph, hand) {
};
SpriteMorph.prototype.doScreenshot = function() {
console.log('Testing screenshot');
var parent = this.parentThatIsA(StageMorph);
var image = parent.fullImageClassic();
var stage = this.parentThatIsA(StageMorph);
var canvas = stage.fullImageClassic();
var ide = this.parentThatIsA(IDE_Morph);
var costume = new Costume(image);
ide.currentSprite.addCostume(image);
var costume = new Costume(canvas, "");
ide.currentSprite.addCostume(costume);
};
// SpriteHighlightMorph /////////////////////////////////////////////////