From 2c409080d327986a34942f4fd63912ea043b5f50 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Wed, 25 Dec 2024 20:14:21 -0500 Subject: [PATCH] make output volume go to 200% --- src/plugins/vcPanelSettings/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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