From d467e138a4e04732d7409b6e36a3f449307922c7 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:08:41 +1000 Subject: [PATCH] fix(ui): canvas is staging if is listening for batch ids --- .../frontend/web/src/features/canvas/store/canvasSelectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/canvas/store/canvasSelectors.ts b/invokeai/frontend/web/src/features/canvas/store/canvasSelectors.ts index 46bf7db3d0..8f1e246aaa 100644 --- a/invokeai/frontend/web/src/features/canvas/store/canvasSelectors.ts +++ b/invokeai/frontend/web/src/features/canvas/store/canvasSelectors.ts @@ -6,7 +6,7 @@ export const canvasSelector = (state: RootState): CanvasState => state.canvas; export const isStagingSelector = createSelector( [stateSelector], - ({ canvas }) => canvas.layerState.stagingArea.images.length > 0 + ({ canvas }) => canvas.batchIds.length > 0 ); export const initialCanvasImageSelector = (