Merge pull request #877 from jotomo/zeor-temp-basal
Overview: fix rendering zero-temp covering entire displayed range.
This commit is contained in:
commit
5d81e40f74
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ public class GraphData {
|
|||
lastAbsoluteLineBasal = absoluteLineValue;
|
||||
lastLineBasal = baseBasalValue;
|
||||
lastTempBasal = tempBasalValue;
|
||||
maxBasalValueFound = Math.max(maxBasalValueFound, basal);
|
||||
maxBasalValueFound = Math.max(maxBasalValueFound, Math.max(tempBasalValue, baseBasalValue));
|
||||
}
|
||||
|
||||
basalLineArray.add(new ScaledDataPoint(toTime, lastLineBasal, basalScale));
|
||||
|
|
Loading…
Reference in a new issue