diff options
author | 2021-11-02 08:22:09 +1100 | |
---|---|---|
committer | 2021-11-02 08:22:09 +1100 | |
commit | e4c0f2ddacb44863f4b9bb52b76d1f5f8e5b03a8 (patch) | |
tree | 469a3e6c4071de5fa8cc08ae0cbbd9b9f5b54bfe /docs/source/techspecs | |
parent | 8ab63e2072f6cfe19b8f8e2acfbd29754d282c79 (diff) |
docs: Fix an error in the Lua reference that I copy/pasted without noticing.
Diffstat (limited to 'docs/source/techspecs')
-rw-r--r-- | docs/source/techspecs/luareference.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/techspecs/luareference.rst b/docs/source/techspecs/luareference.rst index 623d4738407..a5ac003a38d 100644 --- a/docs/source/techspecs/luareference.rst +++ b/docs/source/techspecs/luareference.rst @@ -819,7 +819,7 @@ screen:draw_box(left, top, right, bottom, [line], [fill]) most-significant to least-significant byte. If the line colour is not provided, the UI text colour is used; if the fill colour is not provided, the UI background colour is used. -screen:draw_line(x1, y1, x2, y2, bottom, [color]) +screen:draw_line(x1, y1, x2, y2, [color]) Draws a line from (x1, y1) to (x2, y2). Coordinates are floating-point numbers in units of emulated screen pixels, @@ -2431,7 +2431,7 @@ container:draw_box(left, top, right, bottom, [line], [fill]) most-significant to least-significant byte. If the line colour is not provided, the UI text colour is used; if the fill colour is not provided, the UI background colour is used. -container:draw_line(x1, y1, x2, y2, bottom, [color]) +container:draw_line(x1, y1, x2, y2, [color]) Draws a line from (x1, y1) to (x2, y2). Coordinates are floating-point numbers in the range of 0 (zero) to 1 (one), |