fixed bugs from last commit and updated some tests #story[426]

This commit is contained in:
Peter
2017-03-23 22:24:42 +13:00
parent 7bc5c8f8a4
commit 590ef557d3
3 changed files with 11 additions and 11 deletions
@@ -148,11 +148,11 @@ public class CanvasController {
gc.clearRect(0, 0, 19200, 10800);
drawCourse();
drawBoats();
gc.clearRect(0, 0, canvas.getWidth(),canvas.getHeight());
gc.setFill(Color.SKYBLUE);
gc.fillRect(0,0,canvas.getWidth(),canvas.getHeight());
drawCourse();
drawBoats();
gc.clearRect(0, 0, canvas.getWidth(),canvas.getHeight());
gc.setFill(Color.SKYBLUE);
gc.fillRect(0,0,canvas.getWidth(),canvas.getHeight());
drawCourse();
drawBoats();
// If race has started, draw the boats and play the timeline
if (race.getRaceTime() > 1){