kopia lustrzana https://github.com/backface/turtlestitch
change name
rodzic
b050fd22e8
commit
4ae5d4a9af
|
@ -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();
|
||||||
|
|
|
@ -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';
|
||||||
|
|
Ładowanie…
Reference in New Issue