Update new year
This commit is contained in:
parent
3aa24357f7
commit
2d7c83cea1
@ -113,7 +113,7 @@ setInterval(() => {
|
||||
ctx.fillStyle = "orangered";
|
||||
ctx.textAlign = "center";
|
||||
ctx.font = "bold 50px Comic Mono";
|
||||
ctx.fillText("T - " + hours.padStart(2, "0") + ":" + minutes.padStart(2, "0") + ":" + seconds.padStart(2, "0"), canvas.width / 2, canvas.height / 2);
|
||||
ctx.fillText("T-" + hours.padStart(2, "0") + ":" + minutes.padStart(2, "0") + ":" + seconds.padStart(2, "0"), canvas.width / 2, canvas.height / 2);
|
||||
|
||||
ctx.fillStyle = "white";
|
||||
ctx.fillText(theTime.getHours().toString().padStart(2, '0') + ":" + theTime.getMinutes().toString().padStart(2, '0') + ":" + theTime.getSeconds().toString().padStart(2, '0'), canvas.width / 2, canvas.height / 2 - 150);
|
||||
@ -127,7 +127,7 @@ setInterval(() => {
|
||||
text = "The final hour has started ⏱️";
|
||||
|
||||
if(minutes == 0 && seconds < 60) {
|
||||
text = "It's the final countdown 😳"
|
||||
text = "It's the final countdown 😳";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user