提交 06c418c0 编写于 作者: M Matt Bierner

Fix state being lost on first update of a revived webview

上级 928ae464
......@@ -93,8 +93,8 @@ class DynamicWebviewEditorOverlay extends Disposable implements WebviewEditorOve
if (!this._webview.value) {
const webview = this._webviewService.createWebview(this.id, this.options, this._contentOptions);
this._webview.value = webview;
webview.html = this._html;
webview.state = this._state;
webview.html = this._html;
if (this.options.tryRestoreScrollPosition) {
webview.initialScrollProgress = this._initialScrollProgress;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册