mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Changed the menu color scheme setting to 'dark' as the primary menu entry
This commit is contained in:
parent
5eb0207b0f
commit
6ad9918feb
|
@ -570,10 +570,10 @@ void GuiMenu::openUIOptions()
|
|||
auto menuColorScheme = std::make_shared<OptionListComponent<std::string>>(
|
||||
getHelpStyle(), "MENU COLOR SCHEME", false);
|
||||
const std::string selectedMenuColor {Settings::getInstance()->getString("MenuColorScheme")};
|
||||
menuColorScheme->add("LIGHT", "light", selectedMenuColor == "light");
|
||||
menuColorScheme->add("DARK", "dark", selectedMenuColor == "dark");
|
||||
menuColorScheme->add("LIGHT", "light", selectedMenuColor == "light");
|
||||
// If there are no objects returned, then there must be a manually modified entry in the
|
||||
// configuration file. Simply set the menu color scheme to "light" in this case.
|
||||
// configuration file. Simply set the menu color scheme to "dark" in this case.
|
||||
if (menuColorScheme->getSelectedObjects().size() == 0)
|
||||
menuColorScheme->selectEntry(0);
|
||||
s->addWithLabel("MENU COLOR SCHEME", menuColorScheme);
|
||||
|
|
Loading…
Reference in a new issue