mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added round style to some charts to have more Apple-like style charts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user