Fix input device refresh button

This commit is contained in:
Babib3l
2026-03-21 23:44:39 +01:00
parent 0b02e71a66
commit e4b920002f
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"