mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-25 22:00:25 -04:00
Load tempo from sb2
This commit is contained in:
parent
237616490f
commit
7e5e43fbe1
1 changed files with 3 additions and 0 deletions
|
@ -320,6 +320,9 @@ const parseScratchObject = function (object, runtime, extensions, topLevel) {
|
|||
target.rotationStyle = RenderedTarget.ROTATION_STYLE_ALL_AROUND;
|
||||
}
|
||||
}
|
||||
if (object.hasOwnProperty('tempoBPM')) {
|
||||
target.tempo = object.tempoBPM;
|
||||
}
|
||||
|
||||
target.isStage = topLevel;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue