mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 04:03:22 +08:00
Focus trigger in WaveOverlayContainer
This commit is contained in:
parent
5a83687a27
commit
9141d244bf
@ -128,6 +128,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
protected override void PopIn()
|
protected override void PopIn()
|
||||||
{
|
{
|
||||||
|
base.PopIn();
|
||||||
|
|
||||||
foreach (var w in wavesContainer.Children)
|
foreach (var w in wavesContainer.Children)
|
||||||
w.State = Visibility.Visible;
|
w.State = Visibility.Visible;
|
||||||
|
|
||||||
@ -137,6 +139,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
|
base.PopOut();
|
||||||
|
|
||||||
contentContainer.FadeOut(DISAPPEAR_DURATION, EasingTypes.In);
|
contentContainer.FadeOut(DISAPPEAR_DURATION, EasingTypes.In);
|
||||||
contentContainer.MoveToY(DrawHeight * 2f, DISAPPEAR_DURATION, EasingTypes.In);
|
contentContainer.MoveToY(DrawHeight * 2f, DISAPPEAR_DURATION, EasingTypes.In);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user