mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
fix: corrected the order of the colors in the Network chart after restart (#1080)
This commit is contained in:
@@ -85,7 +85,7 @@ public class NetworkChart: WidgetWrapper {
|
||||
|
||||
if let downloadColor = self.downloadColor.additional as? NSColor,
|
||||
let uploadColor = self.uploadColor.additional as? NSColor {
|
||||
self.chart.colors = [downloadColor, uploadColor]
|
||||
self.chart.colors = [uploadColor, downloadColor]
|
||||
}
|
||||
self.chart.setScale(self.scaleState, self.commonScaleState)
|
||||
self.chart.reinit(self.historyCount)
|
||||
|
||||
Reference in New Issue
Block a user