From fd890f4293243d3888225ee7e147ca17222edadc Mon Sep 17 00:00:00 2001 From: quadbyte Date: Fri, 15 Aug 2025 15:48:09 -0400 Subject: [PATCH] NCircleStat: fixed scaling I broke earlier --- Widgets/NCircleStat.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets/NCircleStat.qml b/Widgets/NCircleStat.qml index acf7243..c5c0672 100644 --- a/Widgets/NCircleStat.qml +++ b/Widgets/NCircleStat.qml @@ -49,13 +49,13 @@ Rectangle { const ctx = getContext("2d") const w = width, h = height const cx = w / 2, cy = h / 2 - const r = Math.min(w, h) / 2 - 5 * root.scaling * contentScale + const r = Math.min(w, h) / 2 - 5 * scaling * contentScale // 240° arc with a 120° gap centered on the right side // Start at 60° and end at 300° → balanced right-side opening const start = Math.PI / 3 const endBg = Math.PI * 5 / 3 ctx.reset() - ctx.lineWidth = 6 * root.scaling * contentScale + ctx.lineWidth = 6 * scaling * contentScale // Track uses surfaceVariant for stronger contrast ctx.strokeStyle = Colors.mSurface ctx.beginPath()