Skip to content

Commit

Permalink
fix(demo): stop forcing restoreEditors
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Mar 19, 2024
1 parent 14a1040 commit 5eb0669
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions demo/src/setup.views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,7 @@ document.body.append(container)
// Override services
await initializeMonacoService({
...commonServices,
...getViewsServiceOverride(openNewCodeEditor, undefined, state => ({
...state,
editor: {
...state.editor,
restoreEditors: true
}
})),
...getViewsServiceOverride(openNewCodeEditor, undefined),

...getQuickAccessServiceOverride({
isKeybindingConfigurationVisible: isEditorPartVisible,
Expand Down

0 comments on commit 5eb0669

Please sign in to comment.