fix background color sliders

This commit is contained in:
Layne 2022-04-13 01:26:59 -04:00
parent c80b4ad547
commit 82e9084d44

View File

@ -98,7 +98,7 @@ export const FurnitureBackgroundColorView: FC<{}> = props =>
<ReactSlider <ReactSlider
className={ 'nitro-slider' } className={ 'nitro-slider' }
min={ 0 } min={ 0 }
max={ 100 } max={ 255 }
value={ saturation } value={ saturation }
onChange={ event => setSaturation(event) } onChange={ event => setSaturation(event) }
thumbClassName={ 'thumb percent' } thumbClassName={ 'thumb percent' }
@ -109,7 +109,7 @@ export const FurnitureBackgroundColorView: FC<{}> = props =>
<ReactSlider <ReactSlider
className={ 'nitro-slider' } className={ 'nitro-slider' }
min={ 0 } min={ 0 }
max={ 100 } max={ 255 }
value={ lightness } value={ lightness }
onChange={ event => setLightness(event) } onChange={ event => setLightness(event) }
thumbClassName={ 'thumb percent' } thumbClassName={ 'thumb percent' }