1
0
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:
Andrei Zavatski 2019-08-12 09:50:49 +03:00
parent 520924b440
commit 5b68a2f34a
2 changed files with 6 additions and 6 deletions

View File

@ -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);
});
}

View File

@ -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)
{