mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-05-25 10:12:24 +00:00
Link avalonia ComboBox bug
This commit is contained in:
parent
a2025d8465
commit
b2573c7ed3
1 changed files with 4 additions and 2 deletions
|
|
@ -819,8 +819,10 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
if (controllerIndex != -1)
|
||||
{
|
||||
// Avalonia bug: setting a newly instanced ComboBox to 0
|
||||
// causes the selected item to show up blank
|
||||
// Workaround: set the box to 1 and then 0
|
||||
// causes the selected item to show up blank.
|
||||
// Workaround: set the box to 1 and then 0.
|
||||
// See: https://github.com/AvaloniaUI/Avalonia/issues/4610
|
||||
// https://github.com/AvaloniaUI/Avalonia/discussions/18834
|
||||
if (controllerIndex == 0)
|
||||
{
|
||||
ApplyControllerSelection(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue