From 275bded6651bc0c9cf6c01489089a947244e8e26 Mon Sep 17 00:00:00 2001 From: Daniel Clark Date: Fri, 5 Feb 2021 01:42:11 +0000 Subject: [PATCH] wip --- .../NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs | 2 +- .../NotificationFlyoutPresenter.xaml | 2 +- .../NotificationFlyout/NotificationFlyoutXamlHost.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs index 9ec130a..06f1875 100644 --- a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs +++ b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs @@ -23,7 +23,7 @@ namespace NotificationFlyout.Uwp.UI.Controls { if (_root == null) return; var flyout = FlyoutBase.GetAttachedFlyout(_root); - flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode }); + flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode, ShowMode = FlyoutShowMode.Standard }); } public void ShowFlyout() diff --git a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml index 4557e72..4e84d32 100644 --- a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml +++ b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml @@ -8,7 +8,7 @@ - + diff --git a/NotificationFlyout.Wpf.UI.Controls/NotificationFlyout/NotificationFlyoutXamlHost.cs b/NotificationFlyout.Wpf.UI.Controls/NotificationFlyout/NotificationFlyoutXamlHost.cs index 5566654..95024af 100644 --- a/NotificationFlyout.Wpf.UI.Controls/NotificationFlyout/NotificationFlyoutXamlHost.cs +++ b/NotificationFlyout.Wpf.UI.Controls/NotificationFlyout/NotificationFlyoutXamlHost.cs @@ -56,7 +56,7 @@ namespace NotificationFlyout.Wpf.UI.Controls { var taskbarState = _taskbarHelper.GetCurrentState(); - var flyoutPlacement = FlyoutPlacementMode.Bottom; + var flyoutPlacement = FlyoutPlacementMode.Auto; switch (taskbarState.Position) { case TaskbarPosition.Left: