From caba0a3f3dafed4ccc90b3b5a7d2012fdae087e5 Mon Sep 17 00:00:00 2001
From: AndiMajore <andi.majore@googlemail.com>
Date: Thu, 30 Sep 2021 18:06:38 +0200
Subject: [PATCH] left background panel color as option for white part of
 pi-chart

---
 src/app/utils.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/app/utils.ts b/src/app/utils.ts
index 576874c4..4fe226a6 100644
--- a/src/app/utils.ts
+++ b/src/app/utils.ts
@@ -174,8 +174,9 @@ export function pieChartContextRenderer({ctx, x, y, state: {selected, hover}, st
     }
     // draw white background circle
     ctx.beginPath();
-    // alternatively window.getComputedStyle(document.documentElement).getPropertyValue('--drgstn-panel');?
     ctx.fillStyle = "white"
+    // or fill like background of graph panel
+    // ctx.fillStyle= window.getComputedStyle(document.documentElement).getPropertyValue('--drgstn-panel');
     ctx.arc(x, y, style.size, 0, 2 * Math.PI,false);
     ctx.fill();
     ctx.stroke();
-- 
GitLab