mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): process buttons display on canvas beta layout
This commit is contained in:
parent
caecfadf11
commit
28677f9621
@ -22,7 +22,7 @@ export default function UnifiedCanvasProcessingButtons() {
|
|||||||
shouldPinParametersPanel && dispatch(requestCanvasRescale());
|
shouldPinParametersPanel && dispatch(requestCanvasRescale());
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return !shouldPinParametersPanel ? (
|
||||||
<Flex flexDirection="column" gap={2}>
|
<Flex flexDirection="column" gap={2}>
|
||||||
<IAIIconButton
|
<IAIIconButton
|
||||||
tooltip={`${t('parameters.showOptionsPanel')} (O)`}
|
tooltip={`${t('parameters.showOptionsPanel')} (O)`}
|
||||||
@ -39,5 +39,5 @@ export default function UnifiedCanvasProcessingButtons() {
|
|||||||
<CancelButton width="100%" height="40px" btnGroupWidth="100%" />
|
<CancelButton width="100%" height="40px" btnGroupWidth="100%" />
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
) : null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user