Skip to content

Commit

Permalink
Try to fix #20
Browse files Browse the repository at this point in the history
  • Loading branch information
i2van committed Oct 22, 2024
1 parent 81498bf commit 388eb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hourglass/Extensions/WindowExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ private static Rect Offset(this Rect rect)
/// </summary>
/// <param name="window">The window.</param>
public static void ForceUpdateLayout(this Window window) =>
window.Dispatcher.Invoke(EmptyAction, DispatcherPriority.Render);
window.Dispatcher.BeginInvoke(EmptyAction, DispatcherPriority.Render);

/// <summary>
/// Open window context menu.
Expand Down

0 comments on commit 388eb4e

Please sign in to comment.