Skip to content

Commit

Permalink
new image
Browse files Browse the repository at this point in the history
  • Loading branch information
exelban committed Jun 17, 2019
1 parent 2ea195d commit 5fd3fc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Stats/Widgets/BatteryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Binary file modified resources/widgets.psd
Binary file not shown.

0 comments on commit 5fd3fc1

Please sign in to comment.