Skip to content

Commit

Permalink
Ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jan 28, 2025
1 parent c5c0321 commit 786b84b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/variants/src/shared/multiVariantColor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ export function getColorAlleleCount(alleles: string[]) {
} else {
let a1 = colord(`hsl(200,50%,${80 - (alt / total) * 50}%)`)
if (alt2) {
// @ts-ignore
a1 = a1.mix(`hsla(0,100%,20%,${alt2 / total})`)
}
if (uncalled) {
// @ts-ignore
a1 = a1.mix(`hsla(50,50%,50%,${uncalled / total / 2})`)
}
return a1.toHex()
Expand Down

0 comments on commit 786b84b

Please sign in to comment.