summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index 208c6c7..5990a2b 100644
--- a/gui.js
+++ b/gui.js
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2014-July-17';
+modules.gui = '2014-July-18';
// Declarations
@@ -5930,7 +5930,10 @@ WardrobeMorph.prototype.removeCostumeAt = function (idx) {
};
WardrobeMorph.prototype.paintNew = function () {
- var cos = new Costume(newCanvas(), "Untitled"),
+ var cos = new Costume(
+ newCanvas(),
+ this.sprite.newCostumeName('Untitled')
+ ),
ide = this.parentThatIsA(IDE_Morph),
myself = this;
cos.edit(this.world(), ide, true, null, function () {