keep older value longer

This commit is contained in:
Peli de Halleux 2016-08-02 15:35:33 -07:00
parent ab7aa00747
commit 4e46682489

View File

@ -23,7 +23,7 @@
value = Math.abs(value);
if (high != 0) barGraphHigh = high;
else if (value > barGraphHigh || now - barGraphHighLast > 5000) {
else if (value > barGraphHigh || now - barGraphHighLast > 10000) {
barGraphHigh = value;
barGraphHighLast = now;
}