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}
|
image={controlImage}
|
||||||
onDrop={handleDrop}
|
onDrop={handleDrop}
|
||||||
isDropDisabled={shouldShowProcessedImage}
|
isDropDisabled={shouldShowProcessedImage}
|
||||||
isUploadDisabled={shouldShowProcessedImage}
|
|
||||||
postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }}
|
postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }}
|
||||||
imageSx={{
|
imageSx={{
|
||||||
w: 'full',
|
w: 'full',
|
||||||
@ -124,6 +123,7 @@ const ControlNetImagePreview = (props: Props) => {
|
|||||||
opacity: shouldShowProcessedImage ? 1 : 0,
|
opacity: shouldShowProcessedImage ? 1 : 0,
|
||||||
transitionProperty: 'common',
|
transitionProperty: 'common',
|
||||||
transitionDuration: 'normal',
|
transitionDuration: 'normal',
|
||||||
|
pointerEvents: 'none',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IAIDndImage
|
<IAIDndImage
|
||||||
|
Loading…
Reference in New Issue
Block a user