mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Custom state (e.g. tempo, volume, video related state) should show up in a target that has been 'flattened' via JSON.stringify.
This commit is contained in:
parent
2dbcdc2244
commit
9892dac904
1 changed files with 6 additions and 1 deletions
|
@ -1003,7 +1003,12 @@ class RenderedTarget extends Target {
|
||||||
variables: this.variables,
|
variables: this.variables,
|
||||||
lists: this.lists,
|
lists: this.lists,
|
||||||
costumes: costumes,
|
costumes: costumes,
|
||||||
sounds: this.getSounds()
|
sounds: this.getSounds(),
|
||||||
|
tempo: this.tempo,
|
||||||
|
volume: this.volume,
|
||||||
|
videoTransparency: this.videoTransparency,
|
||||||
|
videoState: this.videoState
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue