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