From 0afe615243bf4948aa921a1162a612e19f64b16d Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 17 Jul 2014 11:02:06 +0200 Subject: move screenshot feature to dev mode --- objects.js | 8 ++++---- 1 file 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')); } ///////////////////////////////// -- cgit v1.3.1