From a1449455a24f2c191f11e0cdeab0034a58ae6d14 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 34acb766af..5e842b1975 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();