From dee22104b7a9220e365f5d3aa95e2fd20cebfcf5 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 6 Oct 2019 14:50:45 +0200 Subject: Revert "Fix the bgcolor formspec element (#8716)" (#9018) This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51. Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds. --- doc/lua_api.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index bbd11c867..907f47e73 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2092,15 +2092,11 @@ Elements * Show an inventory image of registered item/node -### `bgcolor[]` - -* Sets background color of formspec as `ColorString` - ### `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. +* 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[,;,;]` -- cgit v1.2.3