mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-08 20:12:23 +00:00
When a metric is active clicking on any competitor will show the metric on their tail
This commit is contained in:
1 parent
820bee32e4
commit
1c859e0919
1 file changed
+6
+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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user