mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-09 14:32:07 -05:00
Remove block glows from sequencer
This commit is contained in:
parent
c03e378b85
commit
79b50e5172
1 changed files with 0 additions and 3 deletions
|
@ -131,7 +131,6 @@ Sequencer.prototype.stepThread = function (thread) {
|
||||||
thread.status = Thread.STATUS_DONE;
|
thread.status = Thread.STATUS_DONE;
|
||||||
// Refresh nextBlock in case it has changed during a yield.
|
// Refresh nextBlock in case it has changed during a yield.
|
||||||
thread.nextBlock = instance.runtime._getNextBlock(currentBlock);
|
thread.nextBlock = instance.runtime._getNextBlock(currentBlock);
|
||||||
instance.runtime.glowBlock(currentBlock, false);
|
|
||||||
// Pop the stack and stack frame
|
// Pop the stack and stack frame
|
||||||
thread.stack.pop();
|
thread.stack.pop();
|
||||||
thread.stackFrames.pop();
|
thread.stackFrames.pop();
|
||||||
|
@ -181,7 +180,6 @@ Sequencer.prototype.stepThread = function (thread) {
|
||||||
} else {
|
} else {
|
||||||
thread.nextBlock = null;
|
thread.nextBlock = null;
|
||||||
}
|
}
|
||||||
instance.runtime.glowBlock(currentBlock, false);
|
|
||||||
switchedStack = true;
|
switchedStack = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -210,7 +208,6 @@ Sequencer.prototype.stepThread = function (thread) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
this.runtime.glowBlock(currentBlock, true);
|
|
||||||
// @todo deal with the return value
|
// @todo deal with the return value
|
||||||
blockFunction(argValues, {
|
blockFunction(argValues, {
|
||||||
yield: threadYieldCallback,
|
yield: threadYieldCallback,
|
||||||
|
|
Loading…
Reference in a new issue