From 1db3d252cff9e8d61fecf1052d7497813851da51 Mon Sep 17 00:00:00 2001 From: DS Date: Sun, 15 Sep 2019 18:14:31 +0200 Subject: Fix the bgcolor formspec element (#8716) --- doc/lua_api.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b809e18c3..5a991c278 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2092,11 +2092,15 @@ Elements * Show an inventory image of registered item/node -### `bgcolor[;]` +### `bgcolor[]` * Sets background color of formspec as `ColorString` -* If `true`, the background color is drawn fullscreen (does not affect the size - of the formspec). + +### `bgcolor[;]` + +* 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[,;,;]` -- cgit v1.2.3