Move AllowTrackAdjustments specification to RoomSubScreen

This commit is contained in:
Dean Herbert 2021-09-17 13:23:02 +09:00
parent cd4ba71a6b
commit f524e913e1
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,8 @@ namespace osu.Game.Screens.OnlinePlay.Match
[Cached(typeof(IBindable<PlaylistItem>))]
protected readonly Bindable<PlaylistItem> SelectedItem = new Bindable<PlaylistItem>();
public override bool? AllowTrackAdjustments => true;
protected override BackgroundScreen CreateBackground() => new RoomBackgroundScreen(Room.Playlist.FirstOrDefault())
{
SelectedItem = { BindTarget = SelectedItem }

View File

@ -11,8 +11,6 @@ namespace osu.Game.Screens.OnlinePlay
{
public override bool DisallowExternalBeatmapRulesetChanges => false;
public override bool? AllowTrackAdjustments => true;
public virtual string ShortTitle => Title;
[Resolved(CanBeNull = true)]