mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Allow pushing threads that are not on this.stacks
For flyout running
This commit is contained in:
parent
121cf17bda
commit
833f40cfe5
3 changed files with 3 additions and 9 deletions
|
@ -237,9 +237,6 @@ Runtime.prototype.getOpcodeFunction = function (opcode) {
|
|||
* @param {!string} id ID of block that starts the stack
|
||||
*/
|
||||
Runtime.prototype._pushThread = function (id) {
|
||||
if (this.stacks.indexOf(id) < -1) {
|
||||
return;
|
||||
}
|
||||
this.emit(Runtime.STACK_GLOW_ON, id);
|
||||
var thread = new Thread(id);
|
||||
this.threads.push(thread);
|
||||
|
|
3
vm.js
3
vm.js
|
@ -1415,9 +1415,6 @@
|
|||
* @param {!string} id ID of block that starts the stack
|
||||
*/
|
||||
Runtime.prototype._pushThread = function (id) {
|
||||
if (this.stacks.indexOf(id) < -1) {
|
||||
return;
|
||||
}
|
||||
this.emit(Runtime.STACK_GLOW_ON, id);
|
||||
var thread = new Thread(id);
|
||||
this.threads.push(thread);
|
||||
|
|
6
vm.min.js
vendored
6
vm.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue