diff --git a/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.ts b/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.ts index 0c1779f0319..acfc2b0c917 100644 --- a/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.ts +++ b/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.ts @@ -98,7 +98,7 @@ export class DiffEditorGutter extends Disposable { })); this._register(addDisposableListener(this.elements.gutter, EventType.MOUSE_WHEEL, (e: IMouseWheelEvent) => { - if (!this._editors.modified.getOption(EditorOption.scrollbar).handleMouseWheel) { + if (this._editors.modified.getOption(EditorOption.scrollbar).handleMouseWheel) { this._editors.modified.delegateScrollFromMouseWheelEvent(e); } }, { passive: false }));