new image

This commit is contained in:
Serhiy Mytrovtsiy
2019-06-17 17:22:35 +02:00
parent 2ea195de1e
commit 5fd3fc1d25
3 changed files with 3 additions and 3 deletions

View File

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

View File

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