Skip to content

Commit

Permalink
Readme: Add note on persistence of drawn items
Browse files Browse the repository at this point in the history
Speciffically that it includes text
  • Loading branch information
simonra committed Jul 13, 2019
1 parent 80f3d20 commit e7b4060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ this.canvas.getContext('2d').textBaseline = 'middle';
this.canvas.getContext('2d').fillText('Hello Nin!', x_position_on_canvas, y_position_on_canvas);
```

Beware that this will not replace any text previously drawn. To obtain a blank slate you have to either clear or draw over previously shown text.

## Linting

The frontend part of this project uses ESLint for linting.
Expand Down

0 comments on commit e7b4060

Please sign in to comment.