mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
style and analyzers
This commit is contained in:
parent
3a0d9c1435
commit
75c7a29278
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||||
private (float, float) _uiStickRight;
|
private (float, float) _uiStickRight;
|
||||||
|
|
||||||
internal CancellationTokenSource _pollTokenSource = new();
|
internal CancellationTokenSource _pollTokenSource = new();
|
||||||
private CancellationToken _pollToken;
|
private readonly CancellationToken _pollToken;
|
||||||
|
|
||||||
private bool _isLeft;
|
private bool _isLeft;
|
||||||
public bool IsLeft
|
public bool IsLeft
|
||||||
|
|
@ -148,7 +148,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||||
UiStickRight = _selectedGamepad.GetStick(StickInputId.Right);
|
UiStickRight = _selectedGamepad.GetStick(StickInputId.Right);
|
||||||
}
|
}
|
||||||
|
|
||||||
await Task.Delay(StickUiPollMs);
|
await Task.Delay(StickUiPollMs, token);
|
||||||
}
|
}
|
||||||
|
|
||||||
_pollTokenSource.Dispose();
|
_pollTokenSource.Dispose();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue