diff --git a/invokeai/frontend/web/src/features/controlLayers/store/canvasV2Slice.ts b/invokeai/frontend/web/src/features/controlLayers/store/canvasV2Slice.ts index c98486fb5f..ff345dfe13 100644 --- a/invokeai/frontend/web/src/features/controlLayers/store/canvasV2Slice.ts +++ b/invokeai/frontend/web/src/features/controlLayers/store/canvasV2Slice.ts @@ -25,7 +25,7 @@ import { RGBA_RED } from './types'; const initialState: CanvasV2State = { _version: 3, - selectedEntityIdentifier: { type: 'inpaint_mask', id: 'inpaint_mask' }, + selectedEntityIdentifier: null, layers: { entities: [], imageCache: null }, controlAdapters: { entities: [] }, ipAdapters: { entities: [] }, @@ -44,7 +44,7 @@ const initialState: CanvasV2State = { y: 0, }, tool: { - selected: 'bbox', + selected: 'view', selectedBuffer: null, invertScroll: false, fill: RGBA_RED, diff --git a/invokeai/frontend/web/src/features/controlLayers/store/sessionReducers.ts b/invokeai/frontend/web/src/features/controlLayers/store/sessionReducers.ts index f9910eacf0..7733793851 100644 --- a/invokeai/frontend/web/src/features/controlLayers/store/sessionReducers.ts +++ b/invokeai/frontend/web/src/features/controlLayers/store/sessionReducers.ts @@ -5,6 +5,7 @@ import type { ImageDTO } from 'services/api/types'; export const sessionReducers = { sessionStarted: (state) => { state.session.isActive = true; + state.selectedEntityIdentifier = { id: 'inpaint_mask', type: 'inpaint_mask' }; }, sessionStartedStaging: (state) => { state.session.isStaging = true;