mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Remove editor screen transitions for now
This commit is contained in:
parent
3f5ccd4db8
commit
648cee7106
@ -777,6 +777,7 @@ namespace osu.Game.Screens.Edit
|
||||
if ((currentScreen = screenContainer.SingleOrDefault(s => s.Type == e.NewValue)) != null)
|
||||
{
|
||||
screenContainer.ChangeChildDepth(currentScreen, lastScreen?.Depth + 1 ?? 0);
|
||||
|
||||
currentScreen.Show();
|
||||
return;
|
||||
}
|
||||
|
@ -33,17 +33,9 @@ namespace osu.Game.Screens.Edit
|
||||
InternalChild = content = new PopoverContainer { RelativeSizeAxes = Axes.Both };
|
||||
}
|
||||
|
||||
protected override void PopIn()
|
||||
{
|
||||
this.ScaleTo(1f, 200, Easing.OutQuint)
|
||||
.FadeIn(200, Easing.OutQuint);
|
||||
}
|
||||
protected override void PopIn() => this.FadeIn();
|
||||
|
||||
protected override void PopOut()
|
||||
{
|
||||
this.ScaleTo(0.98f, 200, Easing.OutQuint)
|
||||
.FadeOut(200, Easing.OutQuint);
|
||||
}
|
||||
protected override void PopOut() => this.FadeOut();
|
||||
|
||||
#region Clipboard operations
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user