diff --git a/README.md b/README.md index fdf867cd..47544dfc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Stats Simple macOS system monitor in your menu bar -[](https://github.com/exelban/stats/releases) +[](https://github.com/exelban/stats/releases) ## Why Stats is a application which allows you to monitor your macOS system. diff --git a/Stats/Widgets/BatteryView.swift b/Stats/Widgets/BatteryView.swift index 535c3c55..b85be446 100644 --- a/Stats/Widgets/BatteryView.swift +++ b/Stats/Widgets/BatteryView.swift @@ -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() diff --git a/resources/widgets.psd b/resources/widgets.psd index 2caaf1b1..ff9e767b 100644 Binary files a/resources/widgets.psd and b/resources/widgets.psd differ