mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-26 22:20:41 -04:00
don't show green flag when monitor running
This commit is contained in:
parent
777d1f3824
commit
4687fe41fe
2 changed files with 32 additions and 11 deletions
src/engine
|
@ -95,11 +95,14 @@ const execute = function (sequencer, thread) {
|
|||
|
||||
if (thread.updateMonitor) {
|
||||
runtime.updateMonitors([{
|
||||
id: currentBlockId, // @todo(dd) this will collide if multiple sprites use same block
|
||||
// @todo(dd) this will collide if multiple sprites use same block
|
||||
id: currentBlockId,
|
||||
category: 'data',
|
||||
label: blockContainer.getOpcode(blockContainer.getBlock(currentBlockId)), // @todo(dd) how to handle translation here?
|
||||
// @todo(dd) how to handle translation here?
|
||||
label: blockContainer.getOpcode(blockContainer.getBlock(currentBlockId)),
|
||||
value: String(resolvedValue),
|
||||
x: 0, // @todo(dd) place below the last monitor instead
|
||||
x: 0,
|
||||
// @todo(dd) place below the last monitor instead
|
||||
y: 0
|
||||
}]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue