This commit is contained in:
Alexandru Dima
2021-01-22 14:47:39 +01:00
parent 6f9c818900
commit 1e0f94f900
4 changed files with 21 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export class HoverWidget extends Disposable {
this.contentsDomNode.className = 'monaco-hover-content';
this._scrollbar = this._register(new DomScrollableElement(this.contentsDomNode, {
alwaysConsumeMouseWheel: true
consumeMouseWheelIfScrollbarIsNeeded: true
}));
this.containerDomNode.appendChild(this._scrollbar.getDomNode());
}