mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 08:18:58 -06:00 
			
		
		
		
	Ava UI: Content Dialog Fixes (#6482)
* Don’t use ContentDialogHelper when not necessary * Remove `ExtendClientAreaToDecorationsHint`
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
            contentDialog.Styles.Add(bottomBorder);
 | 
			
		||||
 | 
			
		||||
            await ContentDialogHelper.ShowAsync(contentDialog);
 | 
			
		||||
            await contentDialog.ShowAsync();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void Close(object sender, RoutedEventArgs e)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user