mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 08:18:58 -06:00 
			
		
		
		
	Resolve an issue where changes to the main window's positioning could cause the application to crash if a modal was dismissed beforehand. (#6223)
This commit is contained in:
		@@ -336,6 +336,11 @@ namespace Ryujinx.Ava.UI.Helpers
 | 
			
		||||
 | 
			
		||||
                void OverlayOnPositionChanged(object sender, PixelPointEventArgs e)
 | 
			
		||||
                {
 | 
			
		||||
                    if (_contentDialogOverlayWindow is null)
 | 
			
		||||
                    {
 | 
			
		||||
                        return;
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    _contentDialogOverlayWindow.Position = parent.PointToScreen(new Point());
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user