From c5218e5bc04fb375ffd06d4cbf1371a4583a849f Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 24 Jun 2022 19:47:38 +0900 Subject: [PATCH] chore(client): tweak mini-chart rendering --- packages/client/src/components/mini-chart.vue | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/packages/client/src/components/mini-chart.vue b/packages/client/src/components/mini-chart.vue index 34acb766a..5e842b197 100644 --- a/packages/client/src/components/mini-chart.vue +++ b/packages/client/src/components/mini-chart.vue @@ -2,21 +2,13 @@ - - + + - - - - (null); @@ -53,7 +44,6 @@ let headY = $ref(null); let clock = $ref(null); const accent = tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--accent')); const color = accent.toRgbString(); -const colorAlpha = accent.clone().setAlpha(1).toRgbString(); function draw(): void { const stats = props.src.slice().reverse();