mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 15:56:50 +00:00
fix progress bar colors.
This commit is contained in:
parent
8a32e87cd9
commit
fbf08e1288
@ -3376,7 +3376,7 @@ ProgressBar.prototype.render = function(stop) {
|
||||
yi = yi + ((yl - yi) - (((yl - yi) * (this.filled / 100)) | 0));
|
||||
}
|
||||
|
||||
dattr = this.sattr(this, this.barFg, this.barBg);
|
||||
dattr = this.sattr(this, this.style.bar.fg, this.style.bar.bg);
|
||||
|
||||
this.screen.fillRegion(dattr, this.ch, xi, xl, yi, yl);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user