fix: set color for efficiency and performance cores in the BarChart widget based on the selected color in the popup view settings (#1686)

This commit is contained in:
Serhiy Mytrovtsiy
2023-11-25 22:31:50 +01:00
parent 2686ae845f
commit d144aa68de
4 changed files with 38 additions and 24 deletions

View File

@@ -156,7 +156,7 @@ public struct Color: KeyValue_p, Equatable {
extension Color: CaseIterable {
public static var utilization: Color { return Color(key: "utilization", value: "Based on utilization", additional: NSColor.black) }
public static var pressure: Color { return Color(key: "pressure", value: "Based on pressure", additional: NSColor.black) }
public static var cluster: Color { return Color(key: "cluster", value: "Based on cluster", additional: NSColor.black) }
public static var cluster: Color { return Color(key: "cluster", value: "Based on cluster", additional: NSColor.controlAccentColor) }
public static var separator1: Color { return Color(key: "separator_1", value: "separator_1", additional: NSColor.black) }