mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Properly capture all variable monitor values on add
This commit is contained in:
parent
18640d7ddc
commit
0d0543810f
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue