From 5bc02e0bf4169df8f3e8343a4872f2fd9c6d503b Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Thu, 29 May 2025 11:20:18 +0500 Subject: [PATCH] wut --- .../Platform/Specific/Helpers/AndroidMotionEventsHelper.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs b/src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs index d034f94c2a..866dd24dd0 100644 --- a/src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs +++ b/src/Android/Avalonia.Android/Platform/Specific/Helpers/AndroidMotionEventsHelper.cs @@ -173,8 +173,9 @@ namespace Avalonia.Android.Platform.Specific.Helpers _pendingMoves.Add(pointerId, new PendingMoveInput(new PendingMoveMotionEvent(e, index), toolType, modifiers)); - _flushPendingInput ??= - Dispatcher.UIThread.InvokeAsync(FlushAllPendingInput, DispatcherPriority.Input); + FlushAllPendingInput(); + /*_flushPendingInput ??= + Dispatcher.UIThread.InvokeAsync(FlushAllPendingInput, DispatcherPriority.Input);*/ } } else