Properly capture all variable monitor values on add

This commit is contained in:
Connor Hudson 2018-06-06 16:00:59 -04:00
parent 18640d7ddc
commit 0d0543810f

View file

@ -539,7 +539,13 @@ class Blocks {
params: this._getBlockParams(block),
// @todo(vm#565) for numerical values with decimals, some countries use comma
value: '',
mode: block.opcode === 'data_listcontents' ? 'list' : 'default'
mode: block.opcode === 'data_listcontents' ? 'list' : block.mode,
x: block.x,
y: block.y,
sliderMin: block.sliderMin,
sliderMax: block.sliderMax,
width: block.width,
height: block.height
}));
}
break;