fix(speaker-levels): convert calculation from string to float (#3870)

This commit is contained in:
virtuacoplenny 2019-02-06 10:49:20 -08:00 committed by GitHub
parent 4d817fc6c2
commit f77e1dc591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ const AudioLevels = {
// External circle audio level.
const ext = {
level: ((int.level * scale * level) + int.level).toFixed(0),
level: parseFloat(
((int.level * scale * level) + int.level).toFixed(0)),
color: interfaceConfig.AUDIO_LEVEL_SECONDARY_COLOR
};