From 9cdef701a03c6abef415a9733f754d4320a9d5c0 Mon Sep 17 00:00:00 2001 From: Javi Agenjo Date: Wed, 27 Nov 2019 09:26:22 +0100 Subject: [PATCH] Update README.md --- guides/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/README.md b/guides/README.md index b7b672585..32e92d76c 100644 --- a/guides/README.md +++ b/guides/README.md @@ -132,7 +132,7 @@ MyNodeClass.shape = LiteGraph.ROUND_SHAPE; You can draw something inside a node using the callbacks ```onDrawForeground``` and ```onDrawBackground```. The only difference is that onDrawForeground gets called in Live Mode and onDrawBackground not. -Both functions receive the [Canvas2D rendering context](https://developer.mozilla.org/es/docs/Web/API/CanvasRenderingContext2D) and the LGraphCanvas instance where the node is being rendered. +Both functions receive the [Canvas2D rendering context](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D) and the LGraphCanvas instance where the node is being rendered. You do not have to worry about the coordinates system, (0,0) is the top-left corner of the node content area (not the title).