style and analyzers

This commit is contained in:
MutantAura 2024-05-30 14:38:42 +01:00
parent 7b571ca053
commit 00d27597ff

View file

@ -25,7 +25,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
private (float, float) _uiStickRight;
internal CancellationTokenSource _pollTokenSource = new();
private CancellationToken _pollToken;
private readonly CancellationToken _pollToken;
private GamepadInputConfig _config;
public GamepadInputConfig Config
@ -152,7 +152,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
UiStickRight = _selectedGamepad.GetStick(StickInputId.Right);
}
await Task.Delay(StickUiPollMs);
await Task.Delay(StickUiPollMs, token);
}
_pollTokenSource.Dispose();