snap7
Michael 2022-02-24 09:55:40 +01:00
rodzic b050fd22e8
commit 4ae5d4a9af
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -2953,10 +2953,10 @@ IDE_Morph.prototype.droppedImage = function (aCanvas, name) {
); );
return; return;
} }
this.loadAsBackgroundOrData(costume) this.loadAsBackgroundOrData(costume, name)
} }
IDE_Morph.prototype.loadAsBackgroundOrData = function (costume) { IDE_Morph.prototype.loadAsBackgroundOrData = function (costume, name) {
var myself = this; var myself = this;
var stage = this.stage; var stage = this.stage;
var dlg, world = this.world(); var dlg, world = this.world();

Wyświetl plik

@ -3291,7 +3291,7 @@ StageMorph.prototype.loadCameraSnapshot = function() {
sprite, sprite,
nop, nop,
costume => { costume => {
ide.loadAsBackgroundOrData(costume) ide.loadAsBackgroundOrData(costume, 'snapshot')
}); });
camDialog.key = 'camera'; camDialog.key = 'camera';