1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 16:37:26 +08:00

Remove editor screen transitions for now

This commit is contained in:
Dean Herbert 2022-05-24 17:23:42 +09:00
parent 3f5ccd4db8
commit 648cee7106
2 changed files with 3 additions and 10 deletions

View File

@ -777,6 +777,7 @@ namespace osu.Game.Screens.Edit
if ((currentScreen = screenContainer.SingleOrDefault(s => s.Type == e.NewValue)) != null) if ((currentScreen = screenContainer.SingleOrDefault(s => s.Type == e.NewValue)) != null)
{ {
screenContainer.ChangeChildDepth(currentScreen, lastScreen?.Depth + 1 ?? 0); screenContainer.ChangeChildDepth(currentScreen, lastScreen?.Depth + 1 ?? 0);
currentScreen.Show(); currentScreen.Show();
return; return;
} }

View File

@ -33,17 +33,9 @@ namespace osu.Game.Screens.Edit
InternalChild = content = new PopoverContainer { RelativeSizeAxes = Axes.Both }; InternalChild = content = new PopoverContainer { RelativeSizeAxes = Axes.Both };
} }
protected override void PopIn() protected override void PopIn() => this.FadeIn();
{
this.ScaleTo(1f, 200, Easing.OutQuint)
.FadeIn(200, Easing.OutQuint);
}
protected override void PopOut() protected override void PopOut() => this.FadeOut();
{
this.ScaleTo(0.98f, 200, Easing.OutQuint)
.FadeOut(200, Easing.OutQuint);
}
#region Clipboard operations #region Clipboard operations