Merge pull request #1101 from cycomachead/fix-costume-export

Fix #1099, bug was introduced in #983
dev
Jens Mönig 2016-01-08 16:18:38 +01:00
commit 566aae7951
1 zmienionych plików z 1 dodań i 1 usunięć

2
gui.js
Wyświetl plik

@ -6300,7 +6300,7 @@ CostumeIconMorph.prototype.exportCostume = function () {
// don't show SVG costumes in a new tab (shows text)
ide.saveFileAs(this.object.contents.src, 'text/svg', this.object.name);
} else { // rasterized Costume
ide.saveCanvasAs(this.object.object.contents, this.object.name, true);
ide.saveCanvasAs(this.object.contents, this.object.name, true);
}
};