WPF blur issue fix?

This commit is contained in:
stax76
2021-10-26 12:24:23 +02:00
parent 99ea7285ba
commit 7cd3a8276d
2 changed files with 3 additions and 6 deletions

View File

@@ -1028,6 +1028,7 @@ namespace mpvnet
MessageBoxEx.ButtonBackground = Theme.Current.GetBrush("highlight");
ContextMenu = new WpfControls.ContextMenu();
ContextMenu.Closed += ContextMenu_Closed;
ContextMenu.UseLayoutRounding = true;
BuildMenu();
System.Windows.Application.Current.ShutdownMode = System.Windows.ShutdownMode.OnExplicitShutdown;
Cursor.Position = new Point(Cursor.Position.X + 1, Cursor.Position.Y);