From 25201834da211889ecae6c832b559dbe59d94b23 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Fri, 26 Sep 2025 15:38:23 +0200 Subject: [PATCH] feat: added round style to some charts to have more Apple-like style charts --- Kit/plugins/Charts.swift | 2 +- Modules/RAM/popup.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kit/plugins/Charts.swift b/Kit/plugins/Charts.swift index f8b87d23..b7884759 100644 --- a/Kit/plugins/Charts.swift +++ b/Kit/plugins/Charts.swift @@ -673,7 +673,7 @@ public class HalfCircleGraphView: NSView { context.setShouldAntialias(true) context.setLineWidth(arcWidth) - context.setLineCap(.butt) + context.setLineCap(.round) var segments: [circle_segment] = [ circle_segment(value: value, color: color) diff --git a/Modules/RAM/popup.swift b/Modules/RAM/popup.swift index 78abeef1..3fd362be 100644 --- a/Modules/RAM/popup.swift +++ b/Modules/RAM/popup.swift @@ -454,7 +454,7 @@ public class PressureView: NSView { context.setShouldAntialias(true) context.setLineWidth(arcWidth) - context.setLineCap(.butt) + context.setLineCap(.round) let startAngle: CGFloat = -(1/4)*CGFloat.pi let endCircle: CGFloat = (7/4)*CGFloat.pi - (1/4)*CGFloat.pi