mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix controlnet upload button
This commit is contained in:
parent
b6dec2b826
commit
3d16605762
@ -107,7 +107,6 @@ const ControlNetImagePreview = (props: Props) => {
|
||||
image={controlImage}
|
||||
onDrop={handleDrop}
|
||||
isDropDisabled={shouldShowProcessedImage}
|
||||
isUploadDisabled={shouldShowProcessedImage}
|
||||
postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }}
|
||||
imageSx={{
|
||||
w: 'full',
|
||||
@ -124,6 +123,7 @@ const ControlNetImagePreview = (props: Props) => {
|
||||
opacity: shouldShowProcessedImage ? 1 : 0,
|
||||
transitionProperty: 'common',
|
||||
transitionDuration: 'normal',
|
||||
pointerEvents: 'none',
|
||||
}}
|
||||
>
|
||||
<IAIDndImage
|
||||
|
Loading…
Reference in New Issue
Block a user