mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 04:23:21 +08:00
Make PlayerSettingsOverlay
's api more stringent
This commit is contained in:
parent
2788bd912e
commit
e7732caaf7
@ -42,6 +42,6 @@ namespace osu.Game.Screens.Play.HUD
|
||||
protected override void PopIn() => this.FadeIn(fade_duration);
|
||||
protected override void PopOut() => this.FadeOut(fade_duration);
|
||||
|
||||
public void Insert(int i, PlayerSettingsGroup drawable) => content.Insert(i, drawable);
|
||||
public void AddAtStart(PlayerSettingsGroup drawable) => content.Insert(-1, drawable);
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ namespace osu.Game.Screens.Play
|
||||
if (GameplayClockContainer is MasterGameplayClockContainer master)
|
||||
playbackSettings.UserPlaybackRate.BindTo(master.UserPlaybackRate);
|
||||
|
||||
HUDOverlay.PlayerSettingsOverlay.Insert(-1, playbackSettings);
|
||||
HUDOverlay.PlayerSettingsOverlay.AddAtStart(playbackSettings);
|
||||
}
|
||||
|
||||
protected override void PrepareReplay()
|
||||
|
Loading…
Reference in New Issue
Block a user