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
+2 -1
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
};