fix(ui): canvas is staging if is listening for batch ids

This commit is contained in:
psychedelicious 2023-09-27 17:08:41 +10:00
parent ba4aaea45b
commit d467e138a4

View File

@ -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 = (