Browse Source

wut

fixes/android-perf-maybe
Nikita Tsukanov 10 months ago
parent
commit
5bc02e0bf4
  1. 5
      src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs

5
src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs

@ -173,8 +173,9 @@ namespace Avalonia.Android.Platform.Specific.Helpers
_pendingMoves.Add(pointerId, _pendingMoves.Add(pointerId,
new PendingMoveInput(new PendingMoveMotionEvent(e, index), toolType, modifiers)); new PendingMoveInput(new PendingMoveMotionEvent(e, index), toolType, modifiers));
_flushPendingInput ??= FlushAllPendingInput();
Dispatcher.UIThread.InvokeAsync(FlushAllPendingInput, DispatcherPriority.Input); /*_flushPendingInput ??=
Dispatcher.UIThread.InvokeAsync(FlushAllPendingInput, DispatcherPriority.Input);*/
} }
} }
else else

Loading…
Cancel
Save