From b9da1e6abff4e4dd343f23ffbfa0acb46bacb2fd Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Tue, 7 May 2024 22:20:55 +0100 Subject: [PATCH] [PTRun]Use Mica backdrop to fix crashes with WPFUI (#32118) * [PTRun]Use Mica backdrop to fix crashes with WPFUI * Update MainWindow.xaml --------- Co-authored-by: Niels Laute --- src/modules/launcher/PowerLauncher/MainWindow.xaml | 4 ++-- src/modules/launcher/PowerLauncher/MainWindow.xaml.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml b/src/modules/launcher/PowerLauncher/MainWindow.xaml index 764dee2bba..384560c7c9 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml @@ -32,9 +32,9 @@ - + diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs index 2fa2699953..69c4d7108f 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs @@ -63,7 +63,7 @@ namespace PowerLauncher if (OSVersionHelper.IsWindows11()) { - WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; + WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Mica; } else {