From 8bef84c16bdb99c4b91f50b690a857fe97c7070d Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Fri, 15 Sep 2023 19:29:38 +0200 Subject: [PATCH] util.color (0, 0, 0) -> util.color (`rgb(0, 0, 0)`) --- docs/source/reference/lua-scripting/widgets/image.rst | 2 +- docs/source/reference/lua-scripting/widgets/text.rst | 4 ++-- docs/source/reference/lua-scripting/widgets/textedit.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/reference/lua-scripting/widgets/image.rst b/docs/source/reference/lua-scripting/widgets/image.rst index c461a69a65..49eaec79e0 100644 --- a/docs/source/reference/lua-scripting/widgets/image.rst +++ b/docs/source/reference/lua-scripting/widgets/image.rst @@ -21,5 +21,5 @@ Properties - boolean (false) - Tile the texture vertically * - color - - util.color (1, 1, 1) + - util.color (``rgb(1, 1, 1)``) - Modulate constant color with the color of the image texture. diff --git a/docs/source/reference/lua-scripting/widgets/text.rst b/docs/source/reference/lua-scripting/widgets/text.rst index 074100577a..2970724c74 100644 --- a/docs/source/reference/lua-scripting/widgets/text.rst +++ b/docs/source/reference/lua-scripting/widgets/text.rst @@ -22,7 +22,7 @@ Properties - number (10) - The size of the text. * - textColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text. * - multiline - boolean (false) @@ -40,5 +40,5 @@ Properties - boolean (false) - Whether to render a shadow behind the text. * - textShadowColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text shadow. diff --git a/docs/source/reference/lua-scripting/widgets/textedit.rst b/docs/source/reference/lua-scripting/widgets/textedit.rst index 4e80c18197..6cb18fc685 100644 --- a/docs/source/reference/lua-scripting/widgets/textedit.rst +++ b/docs/source/reference/lua-scripting/widgets/textedit.rst @@ -18,7 +18,7 @@ Properties - number (10) - The size of the text. * - textColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text. * - multiline - boolean (false)