changed progressbar colors

main
Codinget 5 years ago
parent 9f85e7aab1
commit 586abe6db3
  1. 4
      src/js/assets.js

@ -28,8 +28,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));
bar.draw(cvs);
bar.addUpdateListener(() => bar.draw(cvs, '#930a16', '#23090d'));
bar.draw(cvs, '#930a16', '#23090d');
document.body.appendChild(cvs);
setTimeout(() => cvs.classList.remove('hiddenBottom'), 0);

Loading…
Cancel
Save