fix(Settings.jsx): change min value of Slider component to -2 to allow negative values for presP variable

This commit is contained in:
Daniel Avila 2023-03-31 21:11:43 -04:00
parent 404566c1fb
commit 064dfb5336

View file

@ -218,12 +218,12 @@ function Settings() {
value={[presP]} value={[presP]}
onValueChange={value => setPresP(value)} onValueChange={value => setPresP(value)}
max={2} max={2}
min={0} min={-2}
step={0.01} step={0.01}
className="w-full opacity-0" className="w-full opacity-0"
/> />
<Slider <Slider
value={[0]} value={[presP]}
onValueChange={value => setPresP(value)} onValueChange={value => setPresP(value)}
max={2} max={2}
min={-2} min={-2}