mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
(Windows) OCD commit.
This commit is contained in:
parent
0b47a90b3e
commit
81e90e942b
|
@ -1203,7 +1203,7 @@ void GuiMenu::openOtherOptions()
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
// Switch callback.
|
// Switch callback.
|
||||||
auto launchWorkAroundToggleFunc = [launch_workaround]() {
|
auto launchWorkaroundToggleFunc = [launch_workaround]() {
|
||||||
if (launch_workaround->getEnabled()) {
|
if (launch_workaround->getEnabled()) {
|
||||||
launch_workaround->setEnabled(false);
|
launch_workaround->setEnabled(false);
|
||||||
launch_workaround->setOpacity(DISABLED_OPACITY);
|
launch_workaround->setOpacity(DISABLED_OPACITY);
|
||||||
|
@ -1217,7 +1217,7 @@ void GuiMenu::openOtherOptions()
|
||||||
getChildIndex() - 1)->setOpacity(255);
|
getChildIndex() - 1)->setOpacity(255);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
run_in_background->setCallback(launchWorkAroundToggleFunc);
|
run_in_background->setCallback(launchWorkaroundToggleFunc);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mWindow->pushGui(s);
|
mWindow->pushGui(s);
|
||||||
|
|
Loading…
Reference in a new issue