From 9dad5314df266acb7418c96caa6fa77cb9bdcdbe Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Tue, 22 Apr 2014 17:05:14 -0700 Subject: fix set turbo mode block --- threads.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'threads.js') diff --git a/threads.js b/threads.js index 77632d0..ef83b46 100644 --- a/threads.js +++ b/threads.js @@ -1482,10 +1482,10 @@ Process.prototype.doSetFastTracking = function (bool) { if (this.homeContext.receiver) { ide = this.homeContext.receiver.parentThatIsA(IDE_Morph); if (ide) { - if (ide.stage.isFastTracked) { - ide.stopFastTracking(); - } else { + if (bool === true) { ide.startFastTracking(); + } else { + ide.stopFastTracking(); } } } -- cgit v1.3.1 From 826eb102c88ca4722a44fe1cc150ba16a30ef9a6 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sun, 27 Apr 2014 12:46:57 -0700 Subject: style fix for bool --- threads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'threads.js') diff --git a/threads.js b/threads.js index ef83b46..ca6bcd2 100644 --- a/threads.js +++ b/threads.js @@ -1482,7 +1482,7 @@ Process.prototype.doSetFastTracking = function (bool) { if (this.homeContext.receiver) { ide = this.homeContext.receiver.parentThatIsA(IDE_Morph); if (ide) { - if (bool === true) { + if (bool) { ide.startFastTracking(); } else { ide.stopFastTracking(); -- cgit v1.3.1