diff --git a/src/App/App.tsx b/src/App/App.tsx index 88450c4..ea8e514 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -68,7 +68,7 @@ export function App() { if (recoveredState.editorState !== undefined) { const {editorState, ...appState} = recoveredState as AppState & {editorState: VisualEditorState}; setEditHistory(() => ({current: editorState, history: [], future: []})); - setAppState(() => appState); + setAppState(defaultAppState => Object.assign({}, defaultAppState, appState)); } } }, diff --git a/src/App/SideBar.tsx b/src/App/SideBar.tsx index 0fc79df..ee2714b 100644 --- a/src/App/SideBar.tsx +++ b/src/App/SideBar.tsx @@ -45,7 +45,7 @@ export const defaultSideBarState = { showInputEvents: true, showInternalEvents: true, showOutputEvents: true, - showPlant: false, + showPlant: true, showConnections: false, showProperties: false, showExecutionTrace: true,