fixed loading bar colors
This commit is contained in:
parent
c90bfd5103
commit
c850d9ffa9
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ cvs.classList.add('progressBar');
|
|||
cvs.classList.add('hiddenBottom');
|
||||
|
||||
const bar=new ProgressBar(assetSpecs.length*2+tasks.reduce((a, t) => a+t.steps, 0));
|
||||
bar.addUpdateListener(() => bar.draw(cvs, '#930a16', '#23090d'));
|
||||
bar.draw(cvs, '#930a16', '#23090d');
|
||||
bar.addUpdateListener(() => bar.draw(cvs, '#fba49b', '#930a16'));
|
||||
bar.draw(cvs, '#fba49b', '#930a16');
|
||||
|
||||
document.body.appendChild(cvs);
|
||||
setTimeout(() => cvs.classList.remove('hiddenBottom'), 0);
|
||||
|
|
Loading…
Reference in a new issue