mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-03 16:42:24 -07:00
configure_input: Properly update UI components on removal of player
This commit is contained in:
@@ -149,6 +149,8 @@ void ConfigureInput::updateUIEnabled() {
|
||||
bool hit_disabled = false;
|
||||
for (auto* player : players_controller) {
|
||||
player->setDisabled(hit_disabled);
|
||||
if (hit_disabled)
|
||||
player->setCurrentIndex(0);
|
||||
if (!hit_disabled && player->currentIndex() == 0)
|
||||
hit_disabled = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user