We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1767734 commit fbe93d1Copy full SHA for fbe93d1
1 file changed
src/vs/workbench/browser/parts/views/viewPaneContainer.ts
@@ -1315,7 +1315,7 @@ export class ViewPaneContainer extends Component implements IViewPaneContainer {
1315
}
1316
});
1317
1318
- const isPanel = this.viewDescriptorService.getViewLocationById(this.viewContainer.id) === ViewContainerLocation.Panel;
+ const isPanel = this.viewDescriptorService.getViewContainerLocation(this.viewContainer) === ViewContainerLocation.Panel;
1319
const paneStyler = attachStyler<IPaneColors>(this.themeService, {
1320
headerForeground: isPanel ? PANEL_SECTION_HEADER_FOREGROUND : SIDE_BAR_SECTION_HEADER_FOREGROUND,
1321
headerBackground: isPanel ? PANEL_SECTION_HEADER_BACKGROUND : SIDE_BAR_SECTION_HEADER_BACKGROUND,
0 commit comments