mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-09 17:36:23 +00:00
make output volume go to 200%
This commit is contained in:
parent
40eaaf70dc
commit
2c409080d3
1 changed files with 4 additions and 4 deletions
|
@ -27,8 +27,8 @@ function OutputVolumeComponent() {
|
|||
|
||||
return (
|
||||
<>
|
||||
{Settings.plugins.VCPanelSettings.showOutputVolumeHeader && <Forms.FormTitle>Output volume - {Math.floor(outputVolume)}%</Forms.FormTitle>}
|
||||
<Slider maxValue={200} minValue={0} initialValue={outputVolume} hideBubble={Settings.plugins.VCPanelSettings.showOutputVolumeHeader} onValueChange={volume => {
|
||||
{Settings.plugins.VCPanelSettings.showOutputVolumeHeader && <Forms.FormTitle>Output volume</Forms.FormTitle>}
|
||||
<Slider maxValue={200} minValue={0} onValueRender={v => `${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 && <Forms.FormTitle>Input volume - {Math.floor(inputVolume)}%</Forms.FormTitle>}
|
||||
<Slider maxValue={100} minValue={0} initialValue={inputVolume} onValueChange={volume => {
|
||||
{Settings.plugins.VCPanelSettings.showInputVolumeHeader && <Forms.FormTitle>Input volume</Forms.FormTitle>}
|
||||
<Slider maxValue={100} minValue={0} initialValue={inputVolume} asValueChanges={volume => {
|
||||
FluxDispatcher.dispatch({
|
||||
type: "AUDIO_SET_INPUT_VOLUME",
|
||||
volume
|
||||
|
|
Loading…
Reference in a new issue