opener - adopt fromUserGesture in more places

This commit is contained in:
Benjamin Pasero
2019-10-18 16:16:27 +02:00
parent 31434a4954
commit d3972c622f
6 changed files with 47 additions and 35 deletions

View File

@@ -364,7 +364,7 @@ export class MainThreadWebviews extends Disposable implements extHostProtocol.Ma
private onDidClickLink(handle: extHostProtocol.WebviewPanelHandle, link: URI): void {
const webview = this.getWebviewInput(handle);
if (this.isSupportedLink(webview, link)) {
this._openerService.open(link);
this._openerService.open(link, { fromUserGesture: true });
}
}