mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
fix Object.values is not a function test
This commit is contained in:
parent
2a7f3edda6
commit
7a1b3eccd0
1 changed files with 3 additions and 1 deletions
|
@ -702,7 +702,9 @@ class Runtime extends EventEmitter {
|
|||
// @todo: Only render when this.redrawRequested or clones rendered.
|
||||
this.renderer.draw();
|
||||
}
|
||||
this.emit(Runtime.MONITORS_UPDATE, Object.values(this._monitorState));
|
||||
this.emit(Runtime.MONITORS_UPDATE,
|
||||
Object.keys(this._monitorState).map(key => this._monitorState[key])
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue