mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Remove unnecessary hide/show logic.
Also change the way the overlay appears when actually playing.
This commit is contained in:
@ -169,7 +169,6 @@ namespace osu.Game.Screens.Play
|
||||
hudOverlay.Progress.AllowSeeking = HitRenderer.HasReplayLoaded;
|
||||
hudOverlay.Progress.OnSeek = pos => decoupledClock.Seek(pos);
|
||||
|
||||
hudOverlay.ModDisplay.ShowMods = HitRenderer.HasReplayLoaded;
|
||||
hudOverlay.ModDisplay.Current.BindTo(Beatmap.Mods);
|
||||
|
||||
//bind HitRenderer to ScoreProcessor and ourselves (for a pass situation)
|
||||
@ -357,6 +356,10 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
hitRendererContainer.Alpha = 0;
|
||||
hitRendererContainer.FadeIn(750, EasingTypes.OutQuint);
|
||||
|
||||
if (!HitRenderer.HasReplayLoaded)
|
||||
using (hudOverlay.ModDisplay.BeginDelayedSequence(2000))
|
||||
hudOverlay.ModDisplay.FadeOut(200);
|
||||
}
|
||||
|
||||
protected override void OnSuspending(Screen next)
|
||||
|
Reference in New Issue
Block a user