Minor menu opacity fixes. (#15069)

Remove "Framebuffer opacity" from XMB as it does not use it.
Also, rename the corresponding menu title, since "framebuffer"
is not that intuitive.
This commit is contained in:
zoltanvb 2023-03-08 00:10:27 +01:00 committed by GitHub
parent 17b46b5f93
commit ed2ffb5393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -6193,11 +6193,11 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_MENU_FRAMEBUFFER_OPACITY,
"Framebuffer Opacity"
"Menu Opacity"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_MENU_FRAMEBUFFER_OPACITY,
"Modify the opacity of the framebuffer."
"Modify the opacity of the default menu background."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_MENU_USE_PREFERRED_SYSTEM_COLOR_THEME,

View File

@ -16282,7 +16282,8 @@ static bool setting_append_list(
SETTINGS_DATA_LIST_CURRENT_ADD_FLAGS(list, list_info, SD_FLAG_LAKKA_ADVANCED);
}
if (string_is_not_equal(settings->arrays.menu_driver, "rgui"))
if (string_is_not_equal(settings->arrays.menu_driver, "rgui") &&
string_is_not_equal(settings->arrays.menu_driver, "xmb"))
{
CONFIG_FLOAT(
list, list_info,