feat: added round style to some charts to have more Apple-like style charts

This commit is contained in:
Serhiy Mytrovtsiy
2025-09-26 15:38:23 +02:00
parent 077ed04321
commit 25201834da
2 changed files with 2 additions and 2 deletions

View File

@@ -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