diff --git a/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml b/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml index 7471f1d42..625f92a93 100644 --- a/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml +++ b/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml @@ -3,12 +3,17 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helper="using:Hi3Helper" + xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:uielementex="using:CollapseLauncher.Extension" - Background="{ThemeResource PageBackgroundAcrylicBrush}" + Background="Transparent" mc:Ignorable="d"> - + + + + + + - diff --git a/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml.cs b/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml.cs index 16dccf320..0b38b722b 100644 --- a/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml.cs +++ b/CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml.cs @@ -1,4 +1,5 @@ using CollapseLauncher.Dialogs; +using CollapseLauncher.Helper; using Hi3Helper; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; @@ -16,6 +17,7 @@ public DisconnectedPage() try { this.InitializeComponent(); + WindowUtility.SetWindowBackdrop(WindowBackdropKind.Mica); } catch (Exception ex) { @@ -26,6 +28,7 @@ public DisconnectedPage() private void PaimonClicked(object sender, PointerRoutedEventArgs e) { + WindowUtility.SetWindowBackdrop(WindowBackdropKind.None); MainFrameChanger.ChangeWindowFrame(typeof(MainPage), new DrillInNavigationTransitionInfo()); }