idk whos code that was

This commit is contained in:
dank074 2021-11-14 00:26:53 -06:00
parent 50811e4eac
commit 2704906a0b

View File

@ -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}>