mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
[WebUI] Fix Threshold and Perlin Noise Styling
This commit is contained in:
parent
461e662644
commit
542ee56c77
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
@ -16,10 +16,8 @@ const SeedOptions = () => {
|
||||
<Seed />
|
||||
<ShuffleSeed />
|
||||
</Flex>
|
||||
<Flex gap={2}>
|
||||
<Threshold />
|
||||
<Perlin />
|
||||
</Flex>
|
||||
<Threshold />
|
||||
<Perlin />
|
||||
</Flex>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user