Revert "Don't merge a view with a titleDescription (fix #166000) (#214010)" (#215597)

This reverts commit af1bd0264a.
This commit is contained in:
Benjamin Christopher Simmonds 2024-06-14 16:37:10 -07:00 committed by GitHub
parent a41578cab7
commit be838c0af7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1100,10 +1100,6 @@ export class ViewPaneContainer extends Component implements IViewPaneContainer {
if (!(this.options.mergeViewWithContainerWhenSingleView && this.paneItems.length === 1)) {
return false;
}
if (this.paneItems[0].pane.titleDescription) {
// Don't merge a view with a titleDescription. See #166000
return false;
}
if (!this.areExtensionsReady) {
if (this.visibleViewsCountFromCache === undefined) {
return this.paneItems[0].pane.isExpanded();