Working on progress indicator when loading webview

This commit is contained in:
Matt Bierner
2018-04-04 16:07:31 -07:00
parent 8b501bc0f4
commit caee7a5789
6 changed files with 43 additions and 35 deletions

View File

@@ -145,10 +145,10 @@ export class WebviewEditor extends BaseWebviewEditor {
this._webview = undefined;
this.webviewContent = undefined;
}
await super.setInput(input, options);
input.onBecameActive(this.position);
await input.resolve();
await input.onBecameActive(this.position);
this.updateWebview(input);
}