summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2014-04-30 12:48:53 +0200
committerJens Mönig <jens@moenig.org>2014-04-30 12:48:53 +0200
commitb71bc8027d3523e1c4359a7e1af010e02c3e4ccc (patch)
tree20750c736fd80c70428b523ad648947fd4f41ebb /threads.js
parentff490d520ca6cfdd249f8abdc117f74d8ae14d7d (diff)
parent826eb102c88ca4722a44fe1cc150ba16a30ef9a6 (diff)
downloadsnap-b71bc8027d3523e1c4359a7e1af010e02c3e4ccc.tar.gz
snap-b71bc8027d3523e1c4359a7e1af010e02c3e4ccc.zip
Merge pull request #398 from cycomachead/turbo
fix set turbo mode block; fixes #396
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/threads.js b/threads.js
index 77632d0..ca6bcd2 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) {
ide.startFastTracking();
+ } else {
+ ide.stopFastTracking();
}
}
}