mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
fix: removed check that prevents updates of line chart when the same value
This commit is contained in:
@@ -242,7 +242,6 @@ public class LineChart: WidgetWrapper {
|
||||
}
|
||||
|
||||
public func setValue(_ newValue: Double) {
|
||||
guard self._value != newValue else { return }
|
||||
self._value = newValue
|
||||
DispatchQueue.main.async(execute: {
|
||||
self.chart.addValue(newValue)
|
||||
|
||||
Reference in New Issue
Block a user