Always glow threads that come from stack clicks

This commit is contained in:
Paul Kaplan 2018-07-12 11:24:06 -04:00
parent e156b0536c
commit bcd76c995e

View file

@ -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.