mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): imageDropped listener
This commit is contained in:
parent
5fa65e5cc6
commit
cb53108041
@ -4,7 +4,6 @@ import type { AppStartListening } from 'app/store/middleware/listenerMiddleware'
|
||||
import { parseify } from 'common/util/serialize';
|
||||
import {
|
||||
caImageChanged,
|
||||
iiImageChanged,
|
||||
ipaImageChanged,
|
||||
layerImageAdded,
|
||||
rgIPAdapterImageChanged,
|
||||
@ -111,18 +110,6 @@ export const addImageDroppedListener = (startAppListening: AppStartListening) =>
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Image dropped on Raster layer
|
||||
*/
|
||||
if (
|
||||
overData.actionType === 'SET_INITIAL_IMAGE' &&
|
||||
activeData.payloadType === 'IMAGE_DTO' &&
|
||||
activeData.payload.imageDTO
|
||||
) {
|
||||
dispatch(iiImageChanged({ imageDTO: activeData.payload.imageDTO }));
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Image dropped on node image field
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user