From bcd76c995ef472c2fc49558ec47061176a59ce72 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Thu, 12 Jul 2018 11:24:06 -0400 Subject: [PATCH] Always glow threads that come from stack clicks --- src/engine/runtime.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index 530db3b40..62d65fd5b 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -1477,7 +1477,8 @@ class Runtime extends EventEmitter { const target = thread.target; if (target === this._editingTarget) { const blockForThread = thread.blockGlowInFrame; - if (thread.requestScriptGlowInFrame) { + console.log(thread.blockGlowInFrame, thread.requestScriptGlowInFrame) + if (thread.requestScriptGlowInFrame || thread.stackClick) { let script = target.blocks.getTopLevelScript(blockForThread); if (!script) { // Attempt to find in flyout blocks.