From 0d0543810f6ceeb774209027541696c7fbcb8793 Mon Sep 17 00:00:00 2001 From: Connor Hudson Date: Wed, 6 Jun 2018 16:00:59 -0400 Subject: [PATCH] Properly capture all variable monitor values on add --- src/engine/blocks.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/engine/blocks.js b/src/engine/blocks.js index 85ef3b204..aaf96c47d 100644 --- a/src/engine/blocks.js +++ b/src/engine/blocks.js @@ -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;