Skip to content

Commit

Permalink
font fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syxanash committed Nov 29, 2024
1 parent 1fc796c commit 3095098
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/bluerain.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ function loop() {
ctx.fillText(text, i * fontSize, drops[i] * fontSize);

if (oldText) {
ctx.fillStyle = "#000000";
ctx.fillText(oldText, i * fontSize, (drops[i]-1) * fontSize);
ctx.fillStyle = rainColor;
ctx.fillText(oldText, i * fontSize, (drops[i]-1) * fontSize);
}
Expand Down

0 comments on commit 3095098

Please sign in to comment.