mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
dont reset canvas if studio is loaded with canvas destination (#8252)
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
This commit is contained in:
@@ -170,7 +170,6 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
|
|||||||
case 'canvas':
|
case 'canvas':
|
||||||
// Go to the canvas tab, open the launchpad
|
// Go to the canvas tab, open the launchpad
|
||||||
await navigationApi.focusPanel('canvas', WORKSPACE_PANEL_ID);
|
await navigationApi.focusPanel('canvas', WORKSPACE_PANEL_ID);
|
||||||
store.dispatch(canvasReset());
|
|
||||||
break;
|
break;
|
||||||
case 'workflows':
|
case 'workflows':
|
||||||
// Go to the workflows tab
|
// Go to the workflows tab
|
||||||
|
|||||||
Reference in New Issue
Block a user