Figured out the lark with first display transition and transitions based on taskbar pos

This commit is contained in:
Daniel Clark
2021-02-05 12:35:22 +00:00
parent 275bded665
commit 7e05f5ed75
6 changed files with 66 additions and 30 deletions
@@ -20,17 +20,10 @@ namespace NotificationFlyout.Uwp.UI.Controls
}
public void ShowFlyout(FlyoutPlacementMode placementMode)
{
if (_root == null) return;
var flyout = FlyoutBase.GetAttachedFlyout(_root);
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode, ShowMode = FlyoutShowMode.Standard });
}
public void ShowFlyout()
{
if (_root == null) return;
var flyout = FlyoutBase.GetAttachedFlyout(_root);
flyout.ShowAt(_root);
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode, ShowMode = FlyoutShowMode.Standard });
}
protected override void OnApplyTemplate()