Skip to content

Commit 26b09aa

Browse files
committed
Update progress info to style query without array
1 parent 7b08374 commit 26b09aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/components/Progress.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@
4343
160 - (160 / langCount) * index
4444
}, ${203})`,
4545
);
46+
console.log(info);
4647
47-
info[0].style.color = `rgb(${275 - (225 / langCount) * index}, ${
48+
info.style.color = `rgb(${275 - (225 / langCount) * index}, ${
4849
275 - (225 / langCount) * index
4950
}, ${275 - (225 / langCount) * index})`;
5051
}, 0);

0 commit comments

Comments
 (0)