mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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;
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue