Fix input device refresh button

This commit is contained in:
Babib3l 2026-03-21 23:44:39 +01:00
parent dae4e98a5f
commit 3dd0cf2985
2 changed files with 2 additions and 2 deletions

View file

@ -640,7 +640,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
}
DeviceList.AddRange(Devices.Select(x => x.Name));
Device = Math.Min(Device, DeviceList.Count);
Device = Math.Min(Device, DeviceList.Count - 1);
}
}

View file

@ -168,7 +168,7 @@
MinWidth="0"
Margin="5,0,0,0"
VerticalAlignment="Center"
Command="{Binding LoadDevice}">
Command="{Binding LoadDevices}">
<ui:SymbolIcon
Symbol="Refresh"
FontSize="15"