* Don’t use ContentDialogHelper when not necessary * Remove `ExtendClientAreaToDecorationsHint`
@@ -9,7 +9,6 @@ namespace Ryujinx.Ava.UI.Windows
{
InitializeComponent();
- ExtendClientAreaToDecorationsHint = true;
TransparencyLevelHint = new[] { WindowTransparencyLevel.Transparent };
WindowStartupLocation = WindowStartupLocation.Manual;
SystemDecorations = SystemDecorations.None;
@@ -47,7 +47,7 @@ namespace Ryujinx.Ava.UI.Windows
contentDialog.Styles.Add(bottomBorder);
- await ContentDialogHelper.ShowAsync(contentDialog);
+ await contentDialog.ShowAsync();
}
private void SaveAndClose(object sender, RoutedEventArgs routedEventArgs)
@@ -49,7 +49,7 @@ namespace Ryujinx.Ava.UI.Windows
private void Close(object sender, RoutedEventArgs e)