Fix for now - Need to change

This commit is contained in:
hba56
2017-05-04 14:56:54 +12:00
parent 89ba0f278d
commit e409c8752c
2 changed files with 18 additions and 18 deletions
@@ -210,9 +210,11 @@ public class ResizableRaceCanvas extends Canvas {
if (this.raceBoundaries == null) {
return;
}
gc.setFill(Color.AQUA);
//gc.setFill(Color.AQUA);
setRaceBoundCoordinates();
gc.fillPolygon(xpoints, ypoints, xpoints.length);
gc.setLineWidth(1);
gc.strokePolygon(xpoints, ypoints, xpoints.length);
}
/**
@@ -248,10 +250,9 @@ public class ResizableRaceCanvas extends Canvas {
this.map.setWidth((int) width);
gc.setLineWidth(2);
drawBoundaries();
drawMarkers();
updateBoats();
drawMarkers();
drawBoundaries();
//display wind direction arrow - specify origin point and angle - angle now set to random angle
displayArrow(new GraphCoordinate((int) getWidth() - 40, 40), 150);