mirror of
https://github.com/ppy/osu
synced 2025-02-12 08:07:17 +00:00
Merge pull request #14774 from peppy/move-allow-adjustments-specification
Move `AllowTrackAdjustments` specification to `RoomSubScreen`
This commit is contained in:
commit
87dbdfe632
@ -37,8 +37,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
{
|
||||
public override string Title => "Lounge";
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
protected override BackgroundScreen CreateBackground() => new LoungeBackgroundScreen
|
||||
{
|
||||
SelectedRoom = { BindTarget = SelectedRoom }
|
||||
|
@ -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 }
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user