mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
1 parent
671ba6356b
commit
abe27dcb64
3 files changed
+15
-4
No files matched your search
@@ -1098,6 +1098,11 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
|
||||
PopupMultiChoiceDynamic *theme = systemSettings->Add(new PopupMultiChoiceDynamic(&g_Config.sThemeName, sy->T("Theme"), GetThemeInfoNames(), I18NCat::THEMES, screenManager()));
|
||||
theme->OnChoice.Add([=](EventParams &e) {
|
||||
UpdateTheme(screenManager()->getUIContext());
|
||||
// Reset the tint/saturation if the theme changed.
|
||||
if (e.b) {
|
||||
g_Config.fUITint = 0.0f;
|
||||
g_Config.fUISaturation = 1.0f;
|
||||
}
|
||||
return UI::EVENT_CONTINUE;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user