feat: unlocked widgets updates since the chronod was fixed in macOS 26.1 (#2733)

This commit is contained in:
Serhiy Mytrovtsiy
2025-11-13 17:37:46 +01:00
parent f2c87a7ae2
commit cb744f8e99
8 changed files with 23 additions and 34 deletions

View File

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