fix(ui): fix controlnet dnd overlay not showing on dragover

This commit is contained in:
psychedelicious 2023-06-24 18:01:24 +10:00
parent 013e2aa2a1
commit b6dec2b826

View File

@ -106,8 +106,8 @@ const ControlNetImagePreview = (props: Props) => {
<IAIDndImage <IAIDndImage
image={controlImage} image={controlImage}
onDrop={handleDrop} onDrop={handleDrop}
isDropDisabled={!shouldShowProcessedImage} isDropDisabled={shouldShowProcessedImage}
isUploadDisabled={Boolean(controlImage)} isUploadDisabled={shouldShowProcessedImage}
postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }} postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }}
imageSx={{ imageSx={{
w: 'full', w: 'full',