[WebUI] Fix Threshold and Perlin Noise Styling

This commit is contained in:
blessedcoolant 2022-10-07 06:47:50 +13:00
parent 461e662644
commit 542ee56c77
2 changed files with 14 additions and 12 deletions

View File

@ -1,5 +1,9 @@
import React from 'react';
import { RootState, useAppDispatch, useAppSelector } from '../../../../app/store';
import {
RootState,
useAppDispatch,
useAppSelector,
} from '../../../../app/store';
import IAINumberInput from '../../../../common/components/IAINumberInput';
import { setPerlin } from '../../optionsSlice';
@ -11,13 +15,13 @@ export default function Perlin() {
return (
<IAINumberInput
label='Perlin'
min={0}
max={1}
step={0.05}
onChange={handleChangePerlin}
value={perlin}
isInteger={false}
label="Perlin Noise"
min={0}
max={1}
step={0.05}
onChange={handleChangePerlin}
value={perlin}
isInteger={false}
/>
);
}

View File

@ -16,10 +16,8 @@ const SeedOptions = () => {
<Seed />
<ShuffleSeed />
</Flex>
<Flex gap={2}>
<Threshold />
<Perlin />
</Flex>
<Threshold />
<Perlin />
</Flex>
);
};