mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -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),
|
params: this._getBlockParams(block),
|
||||||
// @todo(vm#565) for numerical values with decimals, some countries use comma
|
// @todo(vm#565) for numerical values with decimals, some countries use comma
|
||||||
value: '',
|
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;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue