summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index ffb414d..2bdcb56 100644
--- a/gui.js
+++ b/gui.js
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2014-July-11';
+modules.gui = '2014-July-14';
// Declarations
@@ -1498,7 +1498,9 @@ IDE_Morph.prototype.reactToWorldResize = function (rect) {
IDE_Morph.prototype.droppedImage = function (aCanvas, name) {
var costume = new Costume(
aCanvas,
- name ? name.split('.')[0] : '' // up to period
+ this.currentSprite.newCostumeName(
+ name ? name.split('.')[0] : '' // up to period
+ )
);
if (costume.isTainted()) {