mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 17:48:56 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Ryujinx.Ava.Input
|
||||
|
||||
internal bool IsPressed(Key key)
|
||||
{
|
||||
if (key == Key.Unbound || key == Key.Unknown)
|
||||
if (key is Key.Unbound or Key.Unknown)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user