mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
new image
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Stats
|
||||
Simple macOS system monitor in your menu bar
|
||||
|
||||
[<img src="https://serhiy.s3.eu-central-1.amazonaws.com/Github_repo/stats/widgets%3Fv1.1.0.png">](https://github.com/exelban/stats/releases)
|
||||
[<img src="https://serhiy.s3.eu-central-1.amazonaws.com/Github_repo/stats/widgets%3Fv1.1.0.1.png">](https://github.com/exelban/stats/releases)
|
||||
|
||||
## Why
|
||||
Stats is a application which allows you to monitor your macOS system.
|
||||
|
||||
@@ -70,8 +70,8 @@ class BatteryView: NSView, Widget {
|
||||
batteryPoint.stroke()
|
||||
batteryPoint.fill()
|
||||
|
||||
let maxWidth = w-4.25
|
||||
let inner = NSBezierPath(roundedRect: NSRect(x: x+0.75, y: y+1.5, width: maxWidth*CGFloat(self.value), height: h-3), xRadius: 0.5, yRadius: 0.5)
|
||||
let maxWidth = w-4
|
||||
let inner = NSBezierPath(roundedRect: NSRect(x: x+0.5, y: y+1.5, width: maxWidth*CGFloat(self.value), height: h-3), xRadius: 0.5, yRadius: 0.5)
|
||||
self.value.batteryColor().set()
|
||||
inner.lineWidth = 0
|
||||
inner.stroke()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user