Load tempo from sb2

This commit is contained in:
Eric Rosenbaum 2018-02-27 11:48:23 -05:00
parent 237616490f
commit 7e5e43fbe1

View file

@ -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;