Make sure we fire view state updates when changing the webview position

#48246
This commit is contained in:
Matt Bierner
2018-04-23 10:12:43 -07:00
parent 7e343b00ca
commit e0a4456723

View File

@@ -208,7 +208,8 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
}
if (newActiveWebview && newActiveWebview.handle === this._activeWebview) {
// No change
// Webview itself unchanged but position may have changed
this._proxy.$onDidChangeWebviewPanelViewState(newActiveWebview.handle, true, newActiveWebview.input.position);
return;
}