When a metric is active clicking on any competitor will show the metric on their tail

This commit is contained in:
Tim Hessenmüller committed 2019-05-23 13:25:10 +02:00
1 parent 820bee32e4
commit 1c859e0919
1 file changed
+6
@@ -2531,6 +2531,12 @@ public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> impleme
maneuverMarkersAndLossIndicators.getAndShowManeuvers(race, timeRange);
}
}
// If a metric is shown a click on any competitor / competitors tail will
// add them to the selection effectively showing the metric on their tail.
if (selectedDetailType != null) {
competitorSelection.setSelected(competitorDTO, true);
}
return vPanel;
}