Fixed sundial

This commit is contained in:
Zakary Timson 2019-01-03 14:09:51 -05:00
parent b60366378b
commit 4acff9e77c

View File

@ -61,6 +61,7 @@ export class WeatherComponent implements OnInit {
if(this.day) {
// Stroke background
ctx.lineWidth = 2;
ctx.strokeStyle = '#e5df00';
ctx.fillStyle = '#b3ad00';
ctx.beginPath();
ctx.arc(centerX, centerY, radius, Math.PI, Math.PI * (1 + progress));