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