diff --git a/src/plugins/vcPanelSettings/index.tsx b/src/plugins/vcPanelSettings/index.tsx index 71269753c..dd0083303 100644 --- a/src/plugins/vcPanelSettings/index.tsx +++ b/src/plugins/vcPanelSettings/index.tsx @@ -27,8 +27,8 @@ function OutputVolumeComponent() { return ( <> - {Settings.plugins.VCPanelSettings.showOutputVolumeHeader && Output volume - {Math.floor(outputVolume)}%} - { + {Settings.plugins.VCPanelSettings.showOutputVolumeHeader && Output volume} + `${v.toFixed(0)}%`} initialValue={outputVolume} asValueChanges={volume => { FluxDispatcher.dispatch({ type: "AUDIO_SET_OUTPUT_VOLUME", volume @@ -48,8 +48,8 @@ function InputVolumeComponent() { return ( <> - {Settings.plugins.VCPanelSettings.showInputVolumeHeader && Input volume - {Math.floor(inputVolume)}%} - { + {Settings.plugins.VCPanelSettings.showInputVolumeHeader && Input volume} + { FluxDispatcher.dispatch({ type: "AUDIO_SET_INPUT_VOLUME", volume