kopia lustrzana https://github.com/backface/turtlestitch
Merge pull request #1546 from jguille2/background
Costumes tab name to Costumes/Backgroundspull/29/head
commit
a09b20b4ad
6
gui.js
6
gui.js
|
|
@ -1280,7 +1280,9 @@ IDE_Morph.prototype.createSpriteBar = function () {
|
|||
tabColors,
|
||||
null, // target
|
||||
function () {tabBar.tabTo('costumes'); },
|
||||
localize('Costumes'), // label
|
||||
localize(this.currentSprite instanceof SpriteMorph ?
|
||||
'Costumes' : 'Backgrounds'
|
||||
),
|
||||
function () { // query
|
||||
return myself.currentTab === 'costumes';
|
||||
}
|
||||
|
|
@ -6819,7 +6821,7 @@ CostumeIconMorph.prototype.renameCostume = function () {
|
|||
}
|
||||
}
|
||||
).prompt(
|
||||
'rename costume',
|
||||
this.currentSprite instanceof SpriteMorph ? 'rename costume' : 'rename background',
|
||||
costume.name,
|
||||
this.world()
|
||||
);
|
||||
|
|
|
|||
|
|
@ -6207,7 +6207,7 @@ StageMorph.prototype.userMenu = function () {
|
|||
if (shiftClicked) {
|
||||
menu.addLine();
|
||||
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 () {
|
||||
var costume = new Costume(
|
||||
myself.trailsCanvas,
|
||||
|
|
@ -6217,8 +6217,10 @@ StageMorph.prototype.userMenu = function () {
|
|||
ide.currentSprite.wearCostume(costume);
|
||||
ide.hasChangedMedia = true;
|
||||
},
|
||||
'turn all pen trails and stamps\n' +
|
||||
'into a new costume for the\ncurrently selected sprite',
|
||||
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' +
|
||||
'into a new background for the stage',
|
||||
new Color(100, 0, 0)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue