mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 07:30:51 +01:00
Fix FurnitureBackgroundColorView
This commit is contained in:
parent
306440c9de
commit
f1c2e4a992
@ -20,7 +20,7 @@ export const FurnitureBackgroundColorView: FC<{}> = props =>
|
||||
<ReactSlider
|
||||
className={ 'nitro-slider' }
|
||||
min={ 0 }
|
||||
max={ 360 }
|
||||
max={ 255 }
|
||||
value={ hue }
|
||||
onChange={ event => setHue(event) }
|
||||
thumbClassName={ 'thumb degree' }
|
||||
@ -31,10 +31,10 @@ export const FurnitureBackgroundColorView: FC<{}> = props =>
|
||||
<ReactSlider
|
||||
className={ 'nitro-slider' }
|
||||
min={ 0 }
|
||||
max={ 100 }
|
||||
max={ 255 }
|
||||
value={ saturation }
|
||||
onChange={ event => setSaturation(event) }
|
||||
thumbClassName={ 'thumb percent' }
|
||||
thumbClassName={ 'thumb degree' }
|
||||
renderThumb={ (props, state) => <div { ...props }>{ state.valueNow }</div> } />
|
||||
</Column>
|
||||
<Column>
|
||||
@ -42,10 +42,10 @@ export const FurnitureBackgroundColorView: FC<{}> = props =>
|
||||
<ReactSlider
|
||||
className={ 'nitro-slider' }
|
||||
min={ 0 }
|
||||
max={ 100 }
|
||||
max={ 255 }
|
||||
value={ lightness }
|
||||
onChange={ event => setLightness(event) }
|
||||
thumbClassName={ 'thumb percent' }
|
||||
thumbClassName={ 'thumb degree' }
|
||||
renderThumb={ (props, state) => <div { ...props }>{ state.valueNow }</div> } />
|
||||
</Column>
|
||||
</Column>
|
||||
|
Loading…
Reference in New Issue
Block a user