Browse Source
Merge pull request #10462 from AvaloniaUI/fixes/10399-collectionchanged-sync
Bump collection change event priority.
pull/10476/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Utils/CollectionChangedEventManager.cs
|
|
|
@ -141,7 +141,7 @@ namespace Avalonia.Controls.Utils |
|
|
|
else |
|
|
|
{ |
|
|
|
var eCapture = e; |
|
|
|
Dispatcher.UIThread.Post(() => Notify(_collection, eCapture, l)); |
|
|
|
Dispatcher.UIThread.Post(() => Notify(_collection, eCapture, l), DispatcherPriority.Send); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|