We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38468e commit e44bcadCopy full SHA for e44bcad
CodeBeam.MudBlazor.Extensions/Components/Wheel/MudWheel.razor.cs
@@ -219,7 +219,7 @@ protected async Task HandleOnSwipe(SwipeEventArgs args)
219
_animateValue = - GetAnimateValue();
220
}
221
222
- int changedCount = (Math.Abs((int)args.SwipeDelta) / (Sensitivity == 0 ? 1 : Sensitivity));
+ int changedCount = (Math.Abs((int)(args.SwipeDelta ?? 0)) / (Sensitivity == 0 ? 1 : Sensitivity));
223
for (int i = 0; i < changedCount; i++)
224
{
225
await _animate.Refresh();
0 commit comments