Add base.PopOut calls to allow for passing away focus.

This commit is contained in:
Dean Herbert 2017-02-09 13:54:10 +09:00
parent 30bec0876d
commit 0937424e0c
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,8 @@ protected override void PopIn()
protected override void PopOut()
{
base.PopOut();
optionsSection.Bounding = false;
FadeOut(transition_time);
}

View File

@ -170,6 +170,8 @@ protected override void PopIn()
protected override void PopOut()
{
base.PopOut();
scrollContainer.MoveToX(-width, TRANSITION_LENGTH, EasingTypes.OutQuint);
sidebar.MoveToX(-SIDEBAR_WIDTH, TRANSITION_LENGTH, EasingTypes.OutQuint);
FadeTo(0, TRANSITION_LENGTH / 2);