aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2023-04-11 19:57:36 +0100
committerGitHub <noreply@github.com>2023-04-11 19:57:36 +0100
commit2fc7eb3ea26af60feadc182a9d469d630314665b (patch)
treef1879bb03d42f33f2e09cd0b921819742a5f89bf /src/defaultsettings.cpp
parent1dd13da37db32972810b942966d5cdd233215f92 (diff)
downloadminetest-2fc7eb3ea26af60feadc182a9d469d630314665b.tar.xz
Remove formspec_default_bg_color/opacity settings (#13419)
These settings are unnecessary. They only apply when formspecs don't have a background/bgcolor set. In practice, most games do theme their GUIs. Removing low value settings simplifies code and improves UX by decluttering the settings menu Split out from #12140
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index f7a32ee2e..9d883f7c1 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -220,8 +220,6 @@ void set_default_settings()
settings->setDefault("console_alpha", "200");
settings->setDefault("formspec_fullscreen_bg_color", "(0,0,0)");
settings->setDefault("formspec_fullscreen_bg_opacity", "140");
- settings->setDefault("formspec_default_bg_color", "(0,0,0)");
- settings->setDefault("formspec_default_bg_opacity", "140");
settings->setDefault("selectionbox_color", "(0,0,0)");
settings->setDefault("selectionbox_width", "2");
settings->setDefault("node_highlighting", "box");