Skip to content

Commit 03f91a2

Browse files
authored
Update compat dispatcher priorities (#17948)
1 parent 7071c7a commit 03f91a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Avalonia.Base/Threading/DispatcherPriority.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private DispatcherPriority(int value)
112112
/// <summary>
113113
/// The job will be processed with the same priority as data binding.
114114
/// </summary>
115-
[Obsolete("WPF compatibility"), EditorBrowsable(EditorBrowsableState.Never)] public static readonly DispatcherPriority DataBind = new(Render);
115+
[Obsolete("WPF compatibility"), EditorBrowsable(EditorBrowsableState.Never)] public static readonly DispatcherPriority DataBind = new(AsyncRenderTargetResize + 1);
116116

117117
/// <summary>
118118
/// The job will be processed with normal priority.

0 commit comments

Comments
 (0)