kopia lustrzana https://github.com/backface/turtlestitch
make background image half opacity
rodzic
4f3a68c8c7
commit
afc850bfaf
|
@ -2989,7 +2989,7 @@ IDE_Morph.prototype.loadAsBackgroundOrData = function (costume, name) {
|
||||||
StageMorph.prototype.backgroundColor.r + "," +
|
StageMorph.prototype.backgroundColor.r + "," +
|
||||||
StageMorph.prototype.backgroundColor.g + "," +
|
StageMorph.prototype.backgroundColor.g + "," +
|
||||||
StageMorph.prototype.backgroundColor.b + ")"),
|
StageMorph.prototype.backgroundColor.b + ")"),
|
||||||
stage.hasBackgroundImage ? 0.0 : 1
|
stage.hasBackgroundImage ? 0.5 : 1
|
||||||
);
|
);
|
||||||
myself.hasChangedMedia = true;
|
myself.hasChangedMedia = true;
|
||||||
myself.recordUnsavedChanges();
|
myself.recordUnsavedChanges();
|
||||||
|
|
|
@ -3275,7 +3275,7 @@ StageMorph.prototype.clearStageBackground = function() {
|
||||||
StageMorph.prototype.backgroundColor.r + "," +
|
StageMorph.prototype.backgroundColor.r + "," +
|
||||||
StageMorph.prototype.backgroundColor.g + "," +
|
StageMorph.prototype.backgroundColor.g + "," +
|
||||||
StageMorph.prototype.backgroundColor.b + ")"),
|
StageMorph.prototype.backgroundColor.b + ")"),
|
||||||
myself.hasBackgroundImage ? 0.0 : 1
|
myself.hasBackgroundImage ? 0.5 : 1
|
||||||
);
|
);
|
||||||
myself.hasChangedMedia = true;
|
myself.hasChangedMedia = true;
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue