Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Constrain CenterOwner window to screen. (AvaloniaUI#14982)
* Constrain CenterOwner window to screen. This logic is also present in WPF: https://github.com/dotnet/wpf/blob/3880169c020787b7e3383acb3679e5e4d538c602/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Window.cs#L3707-L3711 Fixes AvaloniaUI#2578 * Ensure min <= max when constraining window pos.
- Loading branch information