mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Update existing overlay containers to not block scroll input
This commit is contained in:
parent
995c244cee
commit
0eab9daf13
@ -23,6 +23,8 @@ namespace osu.Game.Graphics.Containers
|
||||
protected virtual string PopInSampleName => "UI/overlay-pop-in";
|
||||
protected virtual string PopOutSampleName => "UI/overlay-pop-out";
|
||||
|
||||
protected override bool BlockScrollInput => false;
|
||||
|
||||
protected override bool BlockNonPositionalInput => true;
|
||||
|
||||
/// <summary>
|
||||
|
@ -19,6 +19,8 @@ namespace osu.Game.Screens.OnlinePlay.Match.Components
|
||||
|
||||
protected OnlinePlayComposite Settings { get; set; }
|
||||
|
||||
protected override bool BlockScrollInput => false;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
|
@ -31,6 +31,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override bool BlockNonPositionalInput => true;
|
||||
|
||||
protected override bool BlockScrollInput => false;
|
||||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;
|
||||
|
||||
public Action OnRetry;
|
||||
|
@ -45,6 +45,8 @@ namespace osu.Game.Screens.Play
|
||||
public override bool HandleNonPositionalInput => AllowSeeking.Value;
|
||||
public override bool HandlePositionalInput => AllowSeeking.Value;
|
||||
|
||||
protected override bool BlockScrollInput => false;
|
||||
|
||||
private double firstHitTime => objects.First().StartTime;
|
||||
|
||||
private IEnumerable<HitObject> objects;
|
||||
|
Loading…
Reference in New Issue
Block a user