Skip to content

Commit

Permalink
testing: fix glitch with test view widget and sticky scroll (microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 authored Dec 9, 2023
1 parent 10b5818 commit b8ea8d1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
import { TerminalCapability } from 'vs/platform/terminal/common/capabilities/capabilities';
import { TerminalCapabilityStore } from 'vs/platform/terminal/common/capabilities/terminalCapabilityStore';
import { formatMessageForTerminal } from 'vs/platform/terminal/common/terminalStrings';
import { editorBackground } from 'vs/platform/theme/common/colorRegistry';
import { widgetClose } from 'vs/platform/theme/common/iconRegistry';
import { IColorTheme, IThemeService } from 'vs/platform/theme/common/themeService';
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
Expand Down Expand Up @@ -959,10 +960,11 @@ class TestResultsPeek extends PeekViewWidget {
private applyTheme(theme: IColorTheme) {
const borderColor = theme.getColor(testingPeekBorder) || Color.transparent;
const headerBg = theme.getColor(testingPeekHeaderBackground) || Color.transparent;
const editorBg = theme.getColor(editorBackground);
this.style({
arrowColor: borderColor,
frameColor: borderColor,
headerBackgroundColor: headerBg,
headerBackgroundColor: editorBg && headerBg ? headerBg.makeOpaque(editorBg) : headerBg,
primaryHeadingColor: theme.getColor(peekViewTitleForeground),
secondaryHeadingColor: theme.getColor(peekViewTitleInfoForeground)
});
Expand Down

0 comments on commit b8ea8d1

Please sign in to comment.