From e7b406044e637098ded843147f9918860f791c9a Mon Sep 17 00:00:00 2001 From: Simon Randby Date: Sun, 14 Jul 2019 00:12:04 +0200 Subject: [PATCH] Readme: Add note on persistence of drawn items Speciffically that it includes text --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6cd72a1..b276530 100644 --- a/README.md +++ b/README.md @@ -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.