summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-17 11:02:06 +0200
committerjmoenig <jens@moenig.org>2014-07-17 11:02:06 +0200
commit0afe615243bf4948aa921a1162a612e19f64b16d (patch)
treec8d6fcedfd65d64ef29a68471f3707ddd0c8c2aa
parent5decf8a0e0433005c88621a87cbc6dad8634e11a (diff)
downloadsnap-0afe615243bf4948aa921a1162a612e19f64b16d.tar.gz
snap-0afe615243bf4948aa921a1162a612e19f64b16d.zip
move screenshot feature to dev mode
-rw-r--r--objects.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/objects.js b/objects.js
index 83a9966..eb3f5fc 100644
--- a/objects.js
+++ b/objects.js
@@ -1701,8 +1701,6 @@ SpriteMorph.prototype.blockTemplates = function (category) {
blocks.push('-');
blocks.push(block('comeToFront'));
blocks.push(block('goBack'));
- blocks.push('-');
- blocks.push(block('doScreenshot'));
// for debugging: ///////////////
@@ -1719,6 +1717,8 @@ SpriteMorph.prototype.blockTemplates = function (category) {
blocks.push('-');
blocks.push(block('log'));
blocks.push(block('alert'));
+ blocks.push('-');
+ blocks.push(block('doScreenshot'));
}
/////////////////////////////////
@@ -4813,8 +4813,6 @@ StageMorph.prototype.blockTemplates = function (category) {
blocks.push(block('setEffect'));
blocks.push(block('clearEffects'));
blocks.push('-');
- blocks.push(block('doScreenshot'));
- blocks.push('-');
blocks.push(block('show'));
blocks.push(block('hide'));
@@ -4833,6 +4831,8 @@ StageMorph.prototype.blockTemplates = function (category) {
blocks.push('-');
blocks.push(block('log'));
blocks.push(block('alert'));
+ blocks.push('-');
+ blocks.push(block('doScreenshot'));
}
/////////////////////////////////