Skip to content

Commit 922e6f2

Browse files
committed
Always consume mosue wheel in editors
1 parent c3a4092 commit 922e6f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export class EditorScrollbar extends ViewPart {
3636
const fastScrollSensitivity = options.get(EditorOption.fastScrollSensitivity);
3737

3838
const scrollbarOptions: ScrollableElementCreationOptions = {
39+
alwaysConsumeMouseWheel: true,
3940
listenOnDomNode: viewDomNode.domNode,
4041
className: 'editor-scrollable' + ' ' + getThemeTypeSelector(context.theme.type),
4142
useShadows: false,

0 commit comments

Comments
 (0)