changed progressbar colors

Nathan DECHER 5 years ago
parent efa4d9f80f
commit a934d5537b
  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