From 786b84b0339156f7f354e22992639725a6bd0f52 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 28 Jan 2025 17:55:29 -0500 Subject: [PATCH] Ts-ignore --- plugins/variants/src/shared/multiVariantColor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/variants/src/shared/multiVariantColor.ts b/plugins/variants/src/shared/multiVariantColor.ts index a532611705..a893b1ff24 100644 --- a/plugins/variants/src/shared/multiVariantColor.ts +++ b/plugins/variants/src/shared/multiVariantColor.ts @@ -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()