mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Enabled screensaver controls when running in Kid UI mode.
This commit is contained in:
parent
b4e2261a56
commit
dc601a483d
|
@ -114,7 +114,7 @@ bool SystemView::input(InputConfig* config, Input input)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!UIModeController::getInstance()->isUIModeKid() && config->isMappedTo("back", input) &&
|
if (config->isMappedTo("back", input) &&
|
||||||
Settings::getInstance()->getBool("ScreensaverControls")) {
|
Settings::getInstance()->getBool("ScreensaverControls")) {
|
||||||
if (!mWindow->isScreensaverActive()) {
|
if (!mWindow->isScreensaverActive()) {
|
||||||
ViewController::getInstance()->stopScrolling();
|
ViewController::getInstance()->stopScrolling();
|
||||||
|
@ -195,8 +195,7 @@ std::vector<HelpPrompt> SystemView::getHelpPrompts()
|
||||||
if (Settings::getInstance()->getBool("RandomAddButton"))
|
if (Settings::getInstance()->getBool("RandomAddButton"))
|
||||||
prompts.push_back(HelpPrompt("thumbstickclick", "random"));
|
prompts.push_back(HelpPrompt("thumbstickclick", "random"));
|
||||||
|
|
||||||
if (!UIModeController::getInstance()->isUIModeKid() &&
|
if (Settings::getInstance()->getBool("ScreensaverControls"))
|
||||||
Settings::getInstance()->getBool("ScreensaverControls"))
|
|
||||||
prompts.push_back(HelpPrompt("back", "screensaver"));
|
prompts.push_back(HelpPrompt("back", "screensaver"));
|
||||||
|
|
||||||
return prompts;
|
return prompts;
|
||||||
|
|
Loading…
Reference in a new issue