Skip to content

Commit 7d1c2cc

Browse files
author
Benjamin Pasero
committed
Viewlet progress bar is broken (fixes microsoft#26365)
1 parent 3967705 commit 7d1c2cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/base/browser/ui/progressbar/progressbar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ export class ProgressBar {
217217
}
218218

219219
protected applyStyles(): void {
220-
if (this.element) {
220+
if (this.bit) {
221221
const background = this.progressBarBackground ? this.progressBarBackground.toString() : null;
222222

223-
this.element.style('background-color', background);
223+
this.bit.style.backgroundColor = background;
224224
}
225225
}
226226

0 commit comments

Comments
 (0)