Skip to content

Commit

Permalink
Merge branch 'ui_color_doc' into 'master'
Browse files Browse the repository at this point in the history
Change util.color (0, 0, 0) -> util.color (`rgb(0, 0, 0)`) in Lua UI docs

See merge request OpenMW/openmw!3431
  • Loading branch information
psi29a committed Sep 15, 2023
2 parents 2427148 + 8bef84c commit cc02d52
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 cc02d52

Please sign in to comment.