1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-29 12:11:34 +00:00

Merge branch 'ui_color_doc' into 'master'

Change util.color (0, 0, 0) -> util.color (`rgb(0, 0, 0)`) in Lua UI docs

See merge request OpenMW/openmw!3431
This commit is contained in:
psi29a 2023-09-15 19:30:52 +00:00
commit cc02d5268e
3 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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)