Browse Source

oops

main
Gisle Aune 4 years ago
parent
commit
03eccfff1f
  1. 2
      svelte-ui/src/components/Progress.svelte

2
svelte-ui/src/components/Progress.svelte

@ -28,7 +28,7 @@
let title = "";
$: {
if (count > 0 && target > 0) {
if (target > 0) {
let level = Math.floor(count / target);
if (level >= COLORS.length - 1 || (level > 1 && green)) {
offs = 0;

Loading…
Cancel
Save