mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Controlnet Prepreocessed Image Save Icon Missing
This commit is contained in:
parent
dd2057322c
commit
11fa87388b
@ -180,11 +180,19 @@ const ControlNetImagePreview = ({ isSmall, controlNet }: Props) => {
|
|||||||
isUploadDisabled={true}
|
isUploadDisabled={true}
|
||||||
isDropDisabled={!isEnabled}
|
isDropDisabled={!isEnabled}
|
||||||
>
|
>
|
||||||
<IAIDndImageIcon
|
<>
|
||||||
onClick={handleResetControlImage}
|
<IAIDndImageIcon
|
||||||
icon={controlImage ? <FaUndo /> : undefined}
|
onClick={handleResetControlImage}
|
||||||
tooltip="Reset Control Image"
|
icon={controlImage ? <FaUndo /> : undefined}
|
||||||
/>
|
tooltip="Reset Control Image"
|
||||||
|
/>
|
||||||
|
<IAIDndImageIcon
|
||||||
|
onClick={handleSaveControlImage}
|
||||||
|
icon={controlImage ? <FaSave size={16} /> : undefined}
|
||||||
|
tooltip="Save Control Image"
|
||||||
|
styleOverrides={{ marginTop: 6 }}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
</IAIDndImage>
|
</IAIDndImage>
|
||||||
</Box>
|
</Box>
|
||||||
{pendingControlImages.includes(controlNetId) && (
|
{pendingControlImages.includes(controlNetId) && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user