kopia lustrzana https://github.com/backface/turtlestitch
adapting 'pen trails capture' messages
rodzic
6079efcacb
commit
12ee047b43
|
@ -6207,7 +6207,7 @@ StageMorph.prototype.userMenu = function () {
|
||||||
if (shiftClicked) {
|
if (shiftClicked) {
|
||||||
menu.addLine();
|
menu.addLine();
|
||||||
menu.addItem(
|
menu.addItem(
|
||||||
"turn pen trails into new costume...",
|
ide.currentSprite instanceof SpriteMorph ? "turn pen trails into new costume..." : "turn pen trails into new background...",
|
||||||
function () {
|
function () {
|
||||||
var costume = new Costume(
|
var costume = new Costume(
|
||||||
myself.trailsCanvas,
|
myself.trailsCanvas,
|
||||||
|
@ -6217,8 +6217,10 @@ StageMorph.prototype.userMenu = function () {
|
||||||
ide.currentSprite.wearCostume(costume);
|
ide.currentSprite.wearCostume(costume);
|
||||||
ide.hasChangedMedia = true;
|
ide.hasChangedMedia = true;
|
||||||
},
|
},
|
||||||
|
ide.currentSprite instanceof SpriteMorph ? 'turn all pen trails and stamps\n' +
|
||||||
|
'into a new costume for the\ncurrently selected sprite' :
|
||||||
'turn all pen trails and stamps\n' +
|
'turn all pen trails and stamps\n' +
|
||||||
'into a new costume for the\ncurrently selected sprite',
|
'into a new background for the stage',
|
||||||
new Color(100, 0, 0)
|
new Color(100, 0, 0)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue