From 292e00ab680e71f45f6665acaa2fd9517be5376a Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:00:53 +1000 Subject: [PATCH] feat(ui): do not select layer on staging accept --- .../listeners/addCommitStagingAreaImageListener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/addCommitStagingAreaImageListener.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/addCommitStagingAreaImageListener.ts index 2b5949e414..2a8b2f46fb 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/addCommitStagingAreaImageListener.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/addCommitStagingAreaImageListener.ts @@ -68,7 +68,7 @@ export const addStagingListeners = (startAppListening: AppStartListening) => { objects: [imageObject], }; - api.dispatch(rasterLayerAdded({ overrides, isSelected: true })); + api.dispatch(rasterLayerAdded({ overrides, isSelected: false })); api.dispatch(sessionStagingAreaReset()); }, });