Skip to content

Commit

Permalink
util.color (0, 0, 0) -> util.color (rgb(0, 0, 0))
Browse files Browse the repository at this point in the history
  • Loading branch information
petrmikheev committed Sep 15, 2023
1 parent 551f424 commit 8bef84c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/reference/lua-scripting/widgets/image.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions docs/source/reference/lua-scripting/widgets/text.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
2 changes: 1 addition & 1 deletion docs/source/reference/lua-scripting/widgets/textedit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bef84c

Please sign in to comment.