Skip to content

Commit 168df5b

Browse files
authored
Sticky Scroll Insiders (microsoft#199686)
Make sure quality check is string
1 parent e7db54f commit 168df5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/list/browser/listService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ configurationRegistry.registerConfiguration({
14801480
},
14811481
[treeStickyScroll]: {
14821482
type: 'boolean',
1483-
default: product.quality !== 'stable',
1483+
default: typeof product.quality === 'string' && product.quality !== 'stable', // only enable as default in insiders
14841484
description: localize('sticky scroll', "Controls whether sticky scrolling is enabled in trees."),
14851485
},
14861486
[treeStickyScrollMaxElements]: {

0 commit comments

Comments
 (0)