1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 03:03:21 +08:00

Moves seek restrictions to Player

This commit is contained in:
Jacob Odgård Tørring 2018-05-11 09:41:31 +02:00
parent a877855fc6
commit 17ed5e4839
2 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,8 @@ namespace osu.Game.Screens.Play
public bool AllowLeadIn { get; set; } = true; public bool AllowLeadIn { get; set; } = true;
public bool AllowResults { get; set; } = true; public bool AllowResults { get; set; } = true;
public override bool AllowUserSeek => false;
private Bindable<bool> mouseWheelDisabled; private Bindable<bool> mouseWheelDisabled;
private Bindable<double> userAudioOffset; private Bindable<double> userAudioOffset;

View File

@ -17,8 +17,6 @@ namespace osu.Game.Screens.Play
public override bool AllowBeatmapRulesetChange => false; public override bool AllowBeatmapRulesetChange => false;
public override bool AllowUserSeek => false;
protected const float BACKGROUND_FADE_DURATION = 800; protected const float BACKGROUND_FADE_DURATION = 800;
protected float BackgroundOpacity => 1 - (float)DimLevel; protected float BackgroundOpacity => 1 - (float)DimLevel;