Skip to content

Commit

Permalink
Fix #161917. Bind pointer event listener on overview container (#162061)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix authored Sep 27, 2022
1 parent 0857860 commit 8f43917
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class NotebookDiffOverviewRuler extends Themable {
this._renderOverviewViewport();
}));

this._register(DOM.addStandardDisposableListener(this._overviewViewportDomElement.domNode, DOM.EventType.POINTER_DOWN, (e) => {
this._register(DOM.addStandardDisposableListener(container, DOM.EventType.POINTER_DOWN, (e) => {
this.notebookEditor.delegateVerticalScrollbarPointerDown(e);
}));
}
Expand Down

0 comments on commit 8f43917

Please sign in to comment.