mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): canvas is staging if is listening for batch ids
This commit is contained in:
parent
ba4aaea45b
commit
d467e138a4
@ -6,7 +6,7 @@ export const canvasSelector = (state: RootState): CanvasState => state.canvas;
|
|||||||
|
|
||||||
export const isStagingSelector = createSelector(
|
export const isStagingSelector = createSelector(
|
||||||
[stateSelector],
|
[stateSelector],
|
||||||
({ canvas }) => canvas.layerState.stagingArea.images.length > 0
|
({ canvas }) => canvas.batchIds.length > 0
|
||||||
);
|
);
|
||||||
|
|
||||||
export const initialCanvasImageSelector = (
|
export const initialCanvasImageSelector = (
|
||||||
|
Loading…
Reference in New Issue
Block a user