mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
Merge pull request #30 from billsonnn/patch/dumb-bug
idk whos code that was
This commit is contained in:
commit
03b140c289
@ -161,7 +161,7 @@ export const FloorplanOptionsView: FC<{}> = props =>
|
|||||||
step={ 1 }
|
step={ 1 }
|
||||||
value={ floorHeight }
|
value={ floorHeight }
|
||||||
onChange={ event => onFloorHeightChange(event) }
|
onChange={ event => onFloorHeightChange(event) }
|
||||||
renderThumb={ ({ style, ...rest }, state) => <div style={ { backgroundColor: `#${Object.entries(COLORMAP)[state.valueNow + 1][1]}`, ...style } } { ...rest }>{ state.valueNow }</div> } />
|
renderThumb={ ({ style, ...rest }, state) => <div style={ { backgroundColor: `#${COLORMAP[state.valueNow.toString(33)]}`, ...style } } { ...rest }>{ state.valueNow }</div> } />
|
||||||
</NitroLayoutFlexColumn>
|
</NitroLayoutFlexColumn>
|
||||||
</NitroLayoutGridColumn>
|
</NitroLayoutGridColumn>
|
||||||
<NitroLayoutGridColumn size={5}>
|
<NitroLayoutGridColumn size={5}>
|
||||||
|
Loading…
Reference in New Issue
Block a user