Skip to content

Commit ade28aa

Browse files
authored
Merge pull request microsoft#206046 from microsoft/aiday/settingDefaultEnablementStateToTrue
Setting default enablement state of editor sticky scroll to true
2 parents 63d967f + 709da0f commit ade28aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ export type EditorStickyScrollOptions = Readonly<Required<IEditorStickyScrollOpt
28112811
class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEditorStickyScrollOptions, EditorStickyScrollOptions> {
28122812

28132813
constructor() {
2814-
const defaults: EditorStickyScrollOptions = { enabled: false, maxLineCount: 5, defaultModel: 'outlineModel', scrollWithEditor: true };
2814+
const defaults: EditorStickyScrollOptions = { enabled: true, maxLineCount: 5, defaultModel: 'outlineModel', scrollWithEditor: true };
28152815
super(
28162816
EditorOption.stickyScroll, 'stickyScroll', defaults,
28172817
{

0 commit comments

Comments
 (0)