diff --git a/HISTORY.md b/HISTORY.md index a8e1bd3c..0a15a282 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -38,6 +38,7 @@ * blocks, objects, threads: new hat block for "when this scene starts" * blocks, threads: changed "switch to scene" to be a stop block * threads: disabled "when this scene starts" hat blocks to directly switch to another scene +* threads: slowed down scene switching to let the user better interrupt it, commented out for now ### 2021-09-07 * blocks, objects, threads: new change-of-scene event diff --git a/src/threads.js b/src/threads.js index 3eef925f..1c370153 100644 --- a/src/threads.js +++ b/src/threads.js @@ -4741,6 +4741,7 @@ Process.prototype.doSwitchToScene = function (id) { break; } this.stop(); + // ide.onNextStep = () => // slow down scene switching, disabled for now ide.switchToScene(scenes.at(idx)); return; } @@ -4755,10 +4756,10 @@ Process.prototype.doSwitchToScene = function (id) { } this.stop(); + // ide.onNextStep = () => // slow down scene switching, disabled for now ide.switchToScene(scene); }; - // Process color primitives Process.prototype.setHSVA = function (name, num) {