Skip to content

Commit

Permalink
fixed font
Browse files Browse the repository at this point in the history
  • Loading branch information
Magoninho committed Jan 29, 2022
1 parent e3a44a1 commit be27c16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/EjectionTextGenerator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/EjectionTextGenerator.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/EjectionTextGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class EjectionTextGenerator {
}

public render(ctx: CanvasRenderingContext2D) {
ctx.font = '20px sans';
ctx.font = '20px verdana, Arial, sans';

if (this.counter >= 1 && !this.complete) {
this.final += this.text[this.charIndex];
Expand Down

0 comments on commit be27c16

Please sign in to comment.