提交 3e45d866 编写于 作者: S Sandeep Somavarapu

Fix #30248

上级 bde92c49
......@@ -654,7 +654,13 @@ export class ComposedViewsViewlet extends Viewlet {
}
if (ViewLocation.getContributedViewLocation(this.location.id) && !this.areExtensionsReady) {
// Checks in cache so that view do not jump. See #29609
return this.viewsStates.size === 1;
let visibleViewsCount = 0;
this.viewsStates.forEach(viewState => {
if (!viewState.isHidden) {
visibleViewsCount++;
}
});
return visibleViewsCount === 1;
}
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册