mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
fix background color sliders
This commit is contained in:
parent
c80b4ad547
commit
82e9084d44
@ -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' }
|
||||||
|
Loading…
Reference in New Issue
Block a user