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:
parent
3f5ccd4db8
commit
648cee7106
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user