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
image={controlImage}
onDrop={handleDrop}
isDropDisabled={!shouldShowProcessedImage}
isUploadDisabled={Boolean(controlImage)}
isDropDisabled={shouldShowProcessedImage}
isUploadDisabled={shouldShowProcessedImage}
postUploadAction={{ type: 'SET_CONTROLNET_IMAGE', controlNetId }}
imageSx={{
w: 'full',