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:
parent
a877855fc6
commit
17ed5e4839
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user