Fixed sundial
This commit is contained in:
parent
b60366378b
commit
4acff9e77c
@ -61,6 +61,7 @@ export class WeatherComponent implements OnInit {
|
|||||||
if(this.day) {
|
if(this.day) {
|
||||||
// Stroke background
|
// Stroke background
|
||||||
ctx.lineWidth = 2;
|
ctx.lineWidth = 2;
|
||||||
|
ctx.strokeStyle = '#e5df00';
|
||||||
ctx.fillStyle = '#b3ad00';
|
ctx.fillStyle = '#b3ad00';
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(centerX, centerY, radius, Math.PI, Math.PI * (1 + progress));
|
ctx.arc(centerX, centerY, radius, Math.PI, Math.PI * (1 + progress));
|
||||||
|
Loading…
Reference in New Issue
Block a user