|
|
|
@ -796,7 +796,7 @@ public class ResizableRaceCanvas extends ResizableCanvas {
|
|
|
|
private Color getLineColor(Leg leg) {
|
|
|
|
private Color getLineColor(Leg leg) {
|
|
|
|
for (VisualiserBoat boat : raceState.getBoats()) {
|
|
|
|
for (VisualiserBoat boat : raceState.getBoats()) {
|
|
|
|
if (boat.isClientBoat()) {
|
|
|
|
if (boat.isClientBoat()) {
|
|
|
|
if (boat.getCurrentLeg() == leg) {
|
|
|
|
if (boat.getCurrentLeg().getLegNumber() == leg.getLegNumber()) {
|
|
|
|
return Color.ORANGE;
|
|
|
|
return Color.ORANGE;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return Color.MEDIUMAQUAMARINE;
|
|
|
|
return Color.MEDIUMAQUAMARINE;
|
|
|
|
|