mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Merge pull request #1330 from paulkaplan/glow-on-stack-click
Always glow threads that come from stack clicks
This commit is contained in:
commit
e463781bc1
1 changed files with 1 additions and 1 deletions
|
@ -1490,7 +1490,7 @@ 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) {
|
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