Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syxanash committed Dec 26, 2024
1 parent dd96e78 commit a66e7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/bluerain.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function resizeCanvas() {

function animateRain() {
// Add fade effect to the canvas
ctx.fillStyle = `rgba(0, 0, 0, 0.${fontSize >= 20 ? '1' : '06'})`;
ctx.fillStyle = `rgba(0, 0, 0, 0.${fontSize > fontSizes[2] ? '1' : '06'})`;
ctx.fillRect(0, 0, canvas.width, canvas.height);

for (let i = 0; i < skeets.length; i++) {
Expand Down

0 comments on commit a66e7df

Please sign in to comment.