Restore integration tests (#20296)
* Restore integration tests * Fix TransparentPopup test not closing on macOS
This commit is contained in:
committed by
GitHub
parent
ce0a1c6b3e
commit
d84d881729
@@ -136,6 +136,7 @@ public partial class WindowPage : UserControl
|
||||
Width = 200,
|
||||
Height = 200,
|
||||
Background = Brushes.Green,
|
||||
SystemDecorations = SystemDecorations.None,
|
||||
WindowStartupLocation = WindowStartupLocation.CenterOwner,
|
||||
Content = new Border
|
||||
{
|
||||
@@ -145,7 +146,7 @@ public partial class WindowPage : UserControl
|
||||
}
|
||||
};
|
||||
|
||||
backgroundWindow.PointerPressed += (_, _) => backgroundWindow.Close();
|
||||
popup.PointerPressed += (_, _) => backgroundWindow.Close();
|
||||
backgroundWindow.Show(Window);
|
||||
|
||||
popup.Open();
|
||||
|
||||
Reference in New Issue
Block a user