From e4c0f2ddacb44863f4b9bb52b76d1f5f8e5b03a8 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 2 Nov 2021 08:22:09 +1100 Subject: [PATCH] docs: Fix an error in the Lua reference that I copy/pasted without noticing. --- docs/source/techspecs/luareference.rst | 4 ++-- 1 file 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),