ServiceMenu fix: refresc visual al canviar els mandos dels jugadors
This commit is contained in:
@@ -339,8 +339,10 @@ void ServiceMenu::initializeOptions() {
|
|||||||
options_.push_back(std::make_unique<ActionOption>(
|
options_.push_back(std::make_unique<ActionOption>(
|
||||||
Lang::getText("[SERVICE_MENU] SWAP_CONTROLLERS"),
|
Lang::getText("[SERVICE_MENU] SWAP_CONTROLLERS"),
|
||||||
SettingsGroup::CONTROLS,
|
SettingsGroup::CONTROLS,
|
||||||
[]() {
|
[this]() {
|
||||||
Options::gamepad_manager.swapPlayers();
|
Options::gamepad_manager.swapPlayers();
|
||||||
|
adjustListValues(); // Sincroniza el valor de las opciones de lista (como MANDO1) con los datos reales
|
||||||
|
updateOptionPairs(); // Actualiza los pares de texto <opción, valor> que se van a dibujar
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// VIDEO
|
// VIDEO
|
||||||
|
|||||||
Reference in New Issue
Block a user