fix(speaker-levels): convert calculation from string to float (#3870)
This commit is contained in:
parent
4d817fc6c2
commit
f77e1dc591
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue