don't show green flag when monitor running

This commit is contained in:
DD Liu 2017-05-10 14:06:02 -04:00
parent 777d1f3824
commit 4687fe41fe
2 changed files with 32 additions and 11 deletions
src/engine

View file

@ -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
}]);
}