From ed2ffb5393a84f50a3d6c422943ce9d3b30b43b9 Mon Sep 17 00:00:00 2001 From: zoltanvb <101990835+zoltanvb@users.noreply.github.com> Date: Wed, 8 Mar 2023 00:10:27 +0100 Subject: [PATCH] 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. --- intl/msg_hash_us.h | 4 ++-- menu/menu_setting.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 3dabe9d1aa..dca3ae2f84 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -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, diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 97757f7a9f..77482c51ba 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -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,