diff options
author | Johannes <johannes.rieken@gmail.com> | 2022-07-13 13:01:36 +0300 |
---|---|---|
committer | Johannes <johannes.rieken@gmail.com> | 2022-07-13 13:01:36 +0300 |
commit | 78693265be2fa394330df097c3fd99925dff21d4 (patch) | |
tree | ebbed0a9f40c67fbfb152a7730c9e61774616f01 /src/vs/workbench/contrib/notebook/common/notebookOptions.ts | |
parent | 268c941bf0fd8255d4dd7c106c22e9b911772916 (diff) | |
parent | 4404dc63561a286e13f9ba5a669e5403a367425a (diff) |
Merge branch 'main' into joh/cellUrijoh/cellUri
Diffstat (limited to 'src/vs/workbench/contrib/notebook/common/notebookOptions.ts')
-rw-r--r-- | src/vs/workbench/contrib/notebook/common/notebookOptions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/workbench/contrib/notebook/common/notebookOptions.ts b/src/vs/workbench/contrib/notebook/common/notebookOptions.ts index 426871f84fa..2aa4ca14cf8 100644 --- a/src/vs/workbench/contrib/notebook/common/notebookOptions.ts +++ b/src/vs/workbench/contrib/notebook/common/notebookOptions.ts @@ -59,7 +59,7 @@ export interface NotebookLayoutConfiguration { globalToolbar: boolean; consolidatedOutputButton: boolean; consolidatedRunButton: boolean; - showFoldingControls: 'always' | 'mouseover'; + showFoldingControls: 'always' | 'never' | 'mouseover'; dragAndDropEnabled: boolean; fontSize: number; outputFontSize: number; @@ -385,7 +385,7 @@ export class NotebookOptions extends Disposable { } private _computeShowFoldingControlsOption() { - return this.configurationService.getValue<'always' | 'mouseover'>(NotebookSetting.showFoldingControls) ?? 'mouseover'; + return this.configurationService.getValue<'always' | 'never' | 'mouseover'>(NotebookSetting.showFoldingControls) ?? 'mouseover'; } private _computeFocusIndicatorOption() { |