mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-25 05:31:44 -04:00
Temporarily remove per-block glow
This commit is contained in:
parent
e4f6c9e90c
commit
ad30fa8059
1 changed files with 0 additions and 5 deletions
|
@ -92,12 +92,8 @@ Sequencer.prototype.startThread = function (thread) {
|
||||||
thread.setStatus(Thread.STATUS_YIELD_FRAME);
|
thread.setStatus(Thread.STATUS_YIELD_FRAME);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Start showing run feedback in the editor.
|
|
||||||
this.runtime.glowBlock(currentBlockId, true);
|
|
||||||
|
|
||||||
// Execute the current block
|
// Execute the current block
|
||||||
execute(this, thread);
|
execute(this, thread);
|
||||||
|
|
||||||
// If the block executed without yielding and without doing control flow,
|
// If the block executed without yielding and without doing control flow,
|
||||||
// move to done.
|
// move to done.
|
||||||
if (thread.status === Thread.STATUS_RUNNING &&
|
if (thread.status === Thread.STATUS_RUNNING &&
|
||||||
|
@ -157,7 +153,6 @@ Sequencer.prototype.stepToReporter = function (thread, blockId, inputName) {
|
||||||
Sequencer.prototype.proceedThread = function (thread) {
|
Sequencer.prototype.proceedThread = function (thread) {
|
||||||
var currentBlockId = thread.peekStack();
|
var currentBlockId = thread.peekStack();
|
||||||
// Mark the status as done and proceed to the next block.
|
// Mark the status as done and proceed to the next block.
|
||||||
this.runtime.glowBlock(currentBlockId, false);
|
|
||||||
// Pop from the stack - finished this level of execution.
|
// Pop from the stack - finished this level of execution.
|
||||||
thread.popStack();
|
thread.popStack();
|
||||||
// Push next connected block, if there is one.
|
// Push next connected block, if there is one.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue