Changed scale factor so IA is always displayed at same scale (even if only selected option)

This commit is contained in:
Paulus 2019-07-13 17:54:27 +02:00
parent d528e800f6
commit 2a4e9e2cc6

View file

@ -1613,7 +1613,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
if (SP.getBoolean("showratios", false))
secondGraphData.addRatio(fromTime, now, useRatioForScale, 1d);
if(SP.getBoolean("showactivitysecondary", true))
secondGraphData.addActivity(fromTime, endTime, useIAForScale,1d);
secondGraphData.addActivity(fromTime, endTime, useIAForScale,useIAForScale ? 2d: 1d);
if (SP.getBoolean("showdevslope", false) && MainApp.devBranch)
secondGraphData.addDeviationSlope(fromTime, now, useDSForScale, 1d);