提交 730d323a 编写于 作者: R rebornix

Notebook layout does not update if window resizes during its loading phase

上级 ee46d06d
......@@ -204,7 +204,7 @@ export class NotebookEditor extends BaseEditor {
return;
}
if (this._input.resource?.toString() !== this._widget?.viewModel?.uri.toString()) {
if (this._input.resource?.toString() !== this._widget?.viewModel?.uri.toString() && this._widget?.viewModel) {
// input and widget mismatch
// this happens when
// 1. open document A, pin the document
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册