mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Always glow threads that come from stack clicks
This commit is contained in:
parent
e156b0536c
commit
bcd76c995e
1 changed files with 2 additions and 1 deletions
|
@ -1477,7 +1477,8 @@ class Runtime extends EventEmitter {
|
||||||
const target = thread.target;
|
const target = thread.target;
|
||||||
if (target === this._editingTarget) {
|
if (target === this._editingTarget) {
|
||||||
const blockForThread = thread.blockGlowInFrame;
|
const blockForThread = thread.blockGlowInFrame;
|
||||||
if (thread.requestScriptGlowInFrame) {
|
console.log(thread.blockGlowInFrame, thread.requestScriptGlowInFrame)
|
||||||
|
if (thread.requestScriptGlowInFrame || thread.stackClick) {
|
||||||
let script = target.blocks.getTopLevelScript(blockForThread);
|
let script = target.blocks.getTopLevelScript(blockForThread);
|
||||||
if (!script) {
|
if (!script) {
|
||||||
// Attempt to find in flyout blocks.
|
// Attempt to find in flyout blocks.
|
||||||
|
|
Loading…
Reference in a new issue