Skip to content

Commit 90a0eb3

Browse files
committed
explorer: fix subpixel AA
related to #84715
1 parent 1415112 commit 90a0eb3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vs/workbench/contrib/files/browser/views/explorerView.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import { Event } from 'vs/base/common/event';
5454
import { attachStyler, IColorMapping } from 'vs/platform/theme/common/styler';
5555
import { ColorValue, listDropBackground } from 'vs/platform/theme/common/colorRegistry';
5656
import { Color } from 'vs/base/common/color';
57+
import { SIDE_BAR_BACKGROUND } from 'vs/workbench/common/theme';
5758

5859
interface IExplorerViewColors extends IColorMapping {
5960
listDropBackground?: ColorValue | undefined;
@@ -381,7 +382,10 @@ export class ExplorerView extends ViewletPanel {
381382
sorter: this.instantiationService.createInstance(FileSorter),
382383
dnd: this.instantiationService.createInstance(FileDragAndDrop),
383384
autoExpandSingleChildren: true,
384-
additionalScrollHeight: ExplorerDelegate.ITEM_HEIGHT
385+
additionalScrollHeight: ExplorerDelegate.ITEM_HEIGHT,
386+
overrideStyles: {
387+
listBackground: SIDE_BAR_BACKGROUND
388+
}
385389
});
386390
this._register(this.tree);
387391

0 commit comments

Comments
 (0)