1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-22 04:15:44 +02:00

Fix the bgcolor formspec element (#8716)

This commit is contained in:
DS
2019-09-15 18:14:31 +02:00
committed by rubenwardy
parent 1ea9bfc6f7
commit 1db3d252cf
2 changed files with 14 additions and 11 deletions

View File

@@ -2092,11 +2092,15 @@ Elements
* Show an inventory image of registered item/node
### `bgcolor[<color>;<fullscreen>]`
### `bgcolor[<color>]`
* Sets background color of formspec as `ColorString`
* If `true`, the background color is drawn fullscreen (does not affect the size
of the formspec).
### `bgcolor[<color>;<fullscreen>]`
* If `color` is a valid `ColorString`, the fullscreen background color
is set to `color`.
* If `fullscreen` is a true value, the fullscreen background color is drawn.
### `background[<X>,<Y>;<W>,<H>;<texture name>]`