mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 02:00:58 +00:00
comment format change only
This commit is contained in:
1 parent
a2b8813aab
commit
dd4b167889
1 file changed
+2
-4
+2
-4
@@ -2336,10 +2336,8 @@ public class LeaderboardPanel extends SimplePanel implements TimeListener, PlayS
|
||||
Column<LeaderboardRowDTO, ?> c = getLeaderboardTable().getColumn(i);
|
||||
if (c instanceof RaceColumn<?>) {
|
||||
RaceColumn<?> rc = (RaceColumn<?>) c;
|
||||
// If the new leaderboard no longer contains the column, getLegCount will return -1, causing the
|
||||
// column
|
||||
// to be collapsed if it was expanded. This is correct because otherwise, removing it would no
|
||||
// longer
|
||||
// If the new leaderboard no longer contains the column, getLegCount will return -1, causing the column
|
||||
// to be collapsed if it was expanded. This is correct because otherwise, removing it would no longer
|
||||
// know the correct leg count.
|
||||
if (!rc.isTogglingInProcess() && rc.isExpanded()) {
|
||||
int oldLegCount = getLeaderboard().getLegCount(rc.getRaceColumnName(), preSelectedRace);
|
||||
|
||||
Reference in new issue
Block a user