mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-11 05:24:05 -04:00
Fix up tests.
This commit is contained in:
parent
003ed01015
commit
b4f6f24926
2 changed files with 8 additions and 6 deletions
src/serialization
|
@ -33,7 +33,7 @@ const serializeBlock = function (block) {
|
|||
obj.parent = block.parent;
|
||||
obj.inputs = block.inputs;
|
||||
obj.fields = block.fields;
|
||||
obj.topLevel = block.topLevel;
|
||||
obj.topLevel = block.topLevel ? block.topLevel : false;
|
||||
obj.shadow = block.shadow;
|
||||
if (block.topLevel) {
|
||||
if (block.x) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue