summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViraj Mahesh <virajmahesh@gmail.com>2014-03-04 16:04:57 -0800
committerViraj Mahesh <virajmahesh@gmail.com>2014-03-04 16:04:57 -0800
commitf6afb9d08d078a98eee36ecaea493aaa759b04d6 (patch)
treef99bfeb9ca6740e233c30a820b43c83bf502e6ec
parent04bb1414626d9989ed60df62d02fab59263990f7 (diff)
downloadsnap-yow-f6afb9d08d078a98eee36ecaea493aaa759b04d6.tar.gz
snap-yow-f6afb9d08d078a98eee36ecaea493aaa759b04d6.zip
Final commit:
-Removed an accidental change -Removed commented log statement
-rw-r--r--objects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/objects.js b/objects.js
index cdefc3f..41da8e3 100644
--- a/objects.js
+++ b/objects.js
@@ -3716,6 +3716,7 @@ SpriteMorph.prototype.doScreenshot = function(data) {
var costume = new Costume(canvas, screenshotName);
ide.currentSprite.addCostume(costume);
this.screenshotCount++;
+ Canvas2Image.saveAsPNG(canvas);
};
// SpriteHighlightMorph /////////////////////////////////////////////////
@@ -3797,7 +3798,7 @@ StageMorph.prototype.init = function (globals) {
this.blocksCache = {}; // not to be serialized (!)
this.paletteCache = {}; // not to be serialized (!)
this.lastAnswer = null; // last user input, do not persist
- this.active = []; // do not persist
+ this.activeSounds = []; // do not persist
this.trailsCanvas = null;
this.isThreadSafe = false;
@@ -4716,7 +4717,6 @@ StageMorph.prototype.userMenu = function () {
menu.addItem(
"pic...",
function () {
- //console.log(myself.fullImageClassic().toDataURL());
window.open(myself.fullImageClassic().toDataURL());
},
'open a new window\nwith a picture of the stage'