Allow using back button on PlayerLoader and Replay

This commit is contained in:
Dean Herbert 2018-05-18 13:30:36 +09:00
parent 1cda5f4de9
commit e2389ad7a4
3 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,8 @@ public class Player : ScreenWithBeatmapBackground, IProvideCursor
public bool AllowLeadIn { get; set; } = true;
public bool AllowResults { get; set; } = true;
protected override bool AllowBackButton => false;
private Bindable<bool> mouseWheelDisabled;
private Bindable<double> userAudioOffset;

View File

@ -27,7 +27,6 @@ public class PlayerLoader : ScreenWithBeatmapBackground
private bool showOverlays = true;
public override bool ShowOverlaysOnEnter => showOverlays;
protected override bool AllowBackButton => false;
private Task loadTask;

View File

@ -16,7 +16,6 @@ public abstract class ScreenWithBeatmapBackground : OsuScreen
protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap(Beatmap);
public override bool AllowBeatmapRulesetChange => false;
protected override bool AllowBackButton => false;
protected const float BACKGROUND_FADE_DURATION = 800;