Skip to content

Commit fbe93d1

Browse files
committed
1 parent 1767734 commit fbe93d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/browser/parts/views/viewPaneContainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ export class ViewPaneContainer extends Component implements IViewPaneContainer {
13151315
}
13161316
});
13171317

1318-
const isPanel = this.viewDescriptorService.getViewLocationById(this.viewContainer.id) === ViewContainerLocation.Panel;
1318+
const isPanel = this.viewDescriptorService.getViewContainerLocation(this.viewContainer) === ViewContainerLocation.Panel;
13191319
const paneStyler = attachStyler<IPaneColors>(this.themeService, {
13201320
headerForeground: isPanel ? PANEL_SECTION_HEADER_FOREGROUND : SIDE_BAR_SECTION_HEADER_FOREGROUND,
13211321
headerBackground: isPanel ? PANEL_SECTION_HEADER_BACKGROUND : SIDE_BAR_SECTION_HEADER_BACKGROUND,

0 commit comments

Comments
 (0)