1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

Revert "Fix the bgcolor formspec element (#8716)" (#9018)

This reverts commit 1db3d252cf.
Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
This commit is contained in:
SmallJoker 2019-10-06 14:50:45 +02:00 committed by GitHub
parent dde0628976
commit dee22104b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 14 deletions

View file

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