mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: unlocked widgets updates since the chronod was fixed in macOS 26.1 (#2733)
This commit is contained in:
@@ -852,7 +852,6 @@ public class BarChartView: NSView {
|
||||
let blocks: Int = 16
|
||||
let spacing: CGFloat = 2
|
||||
let count: CGFloat = CGFloat(values.count)
|
||||
// swiftlint:disable:next empty_count
|
||||
guard count > 0, self.frame.width > 0, self.frame.height > 0 else { return }
|
||||
|
||||
let partitionSize: CGSize = CGSize(width: (self.frame.width - (count*spacing)) / count, height: self.frame.height)
|
||||
|
||||
Reference in New Issue
Block a user