Skip to content

Commit

Permalink
Progress bar theme color (#45589)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Mar 26, 2018
1 parent f5a2f27 commit 1c0aa2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/vs/workbench/browser/parts/quickinput/quickInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { localize } from 'vs/nls';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { CLOSE_ON_FOCUS_LOST_CONFIG } from 'vs/workbench/browser/quickopen';
import { CountBadge } from 'vs/base/browser/ui/countBadge/countBadge';
import { attachBadgeStyler } from 'vs/platform/theme/common/styler';
import { attachBadgeStyler, attachProgressBarStyler } from 'vs/platform/theme/common/styler';
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
import { ProgressBar } from 'vs/base/browser/ui/progressbar/progressbar';

Expand Down Expand Up @@ -108,8 +108,9 @@ export class QuickInputService extends Component implements IQuickInputService {
}
}));

this.progressBar = new ProgressBar(this.container); // TODO theme
this.progressBar = new ProgressBar(this.container);
this.progressBar.getContainer().addClass('quick-input-progress');
this.toUnbind.push(attachProgressBarStyler(this.progressBar, this.themeService));

this.checkboxList = this.instantiationService.createInstance(QuickInputCheckboxList, this.container);
this.toUnbind.push(this.checkboxList);
Expand Down

0 comments on commit 1c0aa2e

Please sign in to comment.