summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-06-26 19:41:04 +0200
committerjmoenig <jens@moenig.org>2013-06-26 19:41:04 +0200
commit71c331d4a16a0a5e729e155c7f916a6db1e09a0a (patch)
treecd984faef9077329489079b77171aa559a2bbc3c
parent9c6b2a3e6f152d8f2cc67f450b267ddca358a788 (diff)
downloadsnap-71c331d4a16a0a5e729e155c7f916a6db1e09a0a.tar.gz
snap-71c331d4a16a0a5e729e155c7f916a6db1e09a0a.zip
fixed #100 saving costumes to the cloud
-rw-r--r--gui.js5
-rwxr-xr-xhistory.txt4
2 files changed, 7 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index 3d4d44f..4f4f94b 100644
--- a/gui.js
+++ b/gui.js
@@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2013-June-20';
+modules.gui = '2013-June-26';
// Declarations
@@ -351,6 +351,7 @@ IDE_Morph.prototype.openIn = function (world) {
) {
myself.rawOpenProjectString(projectData);
}
+ myself.hasChangedMedia = true;
},
function () {
myself.shield.destroy();
@@ -5449,7 +5450,7 @@ WardrobeMorph.prototype.paintNew = function() {
var cos = new Costume(newCanvas(), "Untitled"),
ide = this.parentThatIsA(IDE_Morph),
myself = this;
- cos.edit(this.world(), null, true, null, function() {
+ cos.edit(this.world(), ide, true, null, function() {
myself.sprite.addCostume(cos);
myself.updateList();
if (ide) {
diff --git a/history.txt b/history.txt
index be07609..b09f713 100755
--- a/history.txt
+++ b/history.txt
@@ -1761,3 +1761,7 @@ ______
130625
------
* Widgets, Blocks: code mapping dialog input is now multi-line monospaced
+
+130626
+------
+* GUI: fixed #100 saving costumes to the cloud