mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): make core parameters layout consistent
This commit is contained in:
parent
52aa0c9bbd
commit
799cd07174
@ -47,7 +47,7 @@ const ImageToImageStrength = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<IAISlider
|
<IAISlider
|
||||||
label={`${t('parameters.strength')}`}
|
label={`${t('parameters.denoisingStrength')}`}
|
||||||
step={step}
|
step={step}
|
||||||
min={min}
|
min={min}
|
||||||
max={sliderMax}
|
max={sliderMax}
|
||||||
|
@ -64,8 +64,6 @@ const ImageToImageTabCoreParameters = () => {
|
|||||||
<ParamSteps />
|
<ParamSteps />
|
||||||
<ParamCFGScale />
|
<ParamCFGScale />
|
||||||
</Flex>
|
</Flex>
|
||||||
<ParamWidth isDisabled={!shouldFitToWidthHeight} />
|
|
||||||
<ParamHeight isDisabled={!shouldFitToWidthHeight} />
|
|
||||||
<Flex gap={3} w="full">
|
<Flex gap={3} w="full">
|
||||||
<Box flexGrow={2}>
|
<Box flexGrow={2}>
|
||||||
<ParamSampler />
|
<ParamSampler />
|
||||||
@ -74,6 +72,8 @@ const ImageToImageTabCoreParameters = () => {
|
|||||||
<ModelSelect />
|
<ModelSelect />
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
<ParamWidth isDisabled={!shouldFitToWidthHeight} />
|
||||||
|
<ParamHeight isDisabled={!shouldFitToWidthHeight} />
|
||||||
<ImageToImageStrength />
|
<ImageToImageStrength />
|
||||||
<ImageToImageFit />
|
<ImageToImageFit />
|
||||||
</Flex>
|
</Flex>
|
||||||
|
@ -62,8 +62,6 @@ const UnifiedCanvasCoreParameters = () => {
|
|||||||
<ParamSteps />
|
<ParamSteps />
|
||||||
<ParamCFGScale />
|
<ParamCFGScale />
|
||||||
</Flex>
|
</Flex>
|
||||||
<ParamWidth />
|
|
||||||
<ParamHeight />
|
|
||||||
<Flex gap={3} w="full">
|
<Flex gap={3} w="full">
|
||||||
<Box flexGrow={2}>
|
<Box flexGrow={2}>
|
||||||
<ParamSampler />
|
<ParamSampler />
|
||||||
@ -72,8 +70,9 @@ const UnifiedCanvasCoreParameters = () => {
|
|||||||
<ModelSelect />
|
<ModelSelect />
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
<ParamWidth />
|
||||||
|
<ParamHeight />
|
||||||
<ImageToImageStrength />
|
<ImageToImageStrength />
|
||||||
<ImageToImageFit />
|
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user