diff --git a/Kit/plugins/Charts.swift b/Kit/plugins/Charts.swift index 47cba920..fdbcea74 100644 --- a/Kit/plugins/Charts.swift +++ b/Kit/plugins/Charts.swift @@ -32,6 +32,9 @@ public struct circle_segment { private func scaleValue(scale: Scale = .linear, value: Double, maxValue: Double, maxHeight: CGFloat) -> CGFloat { var value = value + if scale == .none && value > 1 && maxValue != 0 { + value /= maxValue + } var localMaxValue = maxValue var y = value * maxHeight diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index 343e16a5..9069b5af 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 387 + 389 Description Simple macOS system monitor in your menu bar LSApplicationCategoryType