Skip to content

Commit ec0a101

Browse files
committed
Editor tab shadow is rendered on top of contrast border (fix #109117)
1 parent aabcbd5 commit ec0a101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/browser/parts/editor/tabsTitleControl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,8 +1634,9 @@ registerThemingParticipant((theme: IColorTheme, collector: ICssStyleCollector) =
16341634
// Fade out styles via linear gradient (when tabs are set to shrink)
16351635
// But not when:
16361636
// - in high contrast theme
1637+
// - if we have a contrast border (which draws an outline - https://github.com/microsoft/vscode/issues/109117)
16371638
// - on Safari (https://github.com/microsoft/vscode/issues/108996)
1638-
if (theme.type !== 'hc' && !isSafari) {
1639+
if (theme.type !== 'hc' && !isSafari && !activeContrastBorderColor) {
16391640
const workbenchBackground = WORKBENCH_BACKGROUND(theme);
16401641
const editorBackgroundColor = theme.getColor(editorBackground);
16411642
const editorGroupHeaderTabsBackground = theme.getColor(EDITOR_GROUP_HEADER_TABS_BACKGROUND);

0 commit comments

Comments
 (0)