@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user