mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 11:32:54 +08:00
Rename trackManager to previewTrackManager
This commit is contained in:
parent
520924b440
commit
5b68a2f34a
@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
};
|
||||
|
||||
[Resolved]
|
||||
private PreviewTrackManager trackManager { get; set; }
|
||||
private PreviewTrackManager previewTrackManager { get; set; }
|
||||
|
||||
public TestSceneMatchBeatmapPanel()
|
||||
{
|
||||
@ -45,7 +45,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
AddStep("Select random beatmap", () =>
|
||||
{
|
||||
Room.CurrentItem.Value = Room.Playlist[RNG.Next(Room.Playlist.Count)];
|
||||
trackManager.StopAnyPlaying(this);
|
||||
previewTrackManager.StopAnyPlaying(this);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace osu.Game.Screens.Multi.Match
|
||||
private BeatmapManager beatmapManager { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private PreviewTrackManager trackManager { get; set; }
|
||||
private PreviewTrackManager previewTrackManager { get; set; }
|
||||
|
||||
[Resolved(CanBeNull = true)]
|
||||
private OsuGame game { get; set; }
|
||||
@ -188,7 +188,7 @@ namespace osu.Game.Screens.Multi.Match
|
||||
|
||||
Mods.Value = Array.Empty<Mod>();
|
||||
|
||||
trackManager.StopAnyPlaying(this);
|
||||
previewTrackManager.StopAnyPlaying(this);
|
||||
|
||||
return base.OnExiting(next);
|
||||
}
|
||||
@ -207,7 +207,7 @@ namespace osu.Game.Screens.Multi.Match
|
||||
if (e.NewValue?.Ruleset != null)
|
||||
Ruleset.Value = e.NewValue.Ruleset;
|
||||
|
||||
trackManager.StopAnyPlaying(this);
|
||||
previewTrackManager.StopAnyPlaying(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -233,7 +233,7 @@ namespace osu.Game.Screens.Multi.Match
|
||||
|
||||
private void onStart()
|
||||
{
|
||||
trackManager.StopAnyPlaying(this);
|
||||
previewTrackManager.StopAnyPlaying(this);
|
||||
|
||||
switch (type.Value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user