mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 15:15:37 +00:00
(Android) Added some cleanup code when changing the input overlay setting
This commit is contained in:
parent
720ca50cd0
commit
218cb1e96f
|
@ -1179,6 +1179,12 @@ void GuiMenu::openInputDeviceOptions()
|
|||
if (Settings::getInstance()->getBool("InputTouchOverlay") !=
|
||||
inputTouchOverlay->getState()) {
|
||||
Settings::getInstance()->setBool("InputTouchOverlay", inputTouchOverlay->getState());
|
||||
|
||||
if (Settings::getInstance()->getBool("InputTouchOverlay"))
|
||||
InputOverlay::getInstance().createButtons();
|
||||
else
|
||||
InputOverlay::getInstance().clearButtons();
|
||||
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue