1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +08:00

Limit input propagation correctly

This commit is contained in:
Dean Herbert 2020-01-27 14:55:47 +09:00
parent 1c64b70b06
commit 7aa5e8c23e

View File

@ -56,6 +56,9 @@ namespace osu.Game.Screens.Select
public override bool HandleNonPositionalInput => AllowSelection; public override bool HandleNonPositionalInput => AllowSelection;
public override bool HandlePositionalInput => AllowSelection; public override bool HandlePositionalInput => AllowSelection;
public override bool PropagatePositionalInputSubTree => AllowSelection;
public override bool PropagateNonPositionalInputSubTree => AllowSelection;
/// <summary> /// <summary>
/// Whether carousel items have completed asynchronously loaded. /// Whether carousel items have completed asynchronously loaded.
/// </summary> /// </summary>
@ -449,8 +452,6 @@ namespace osu.Game.Screens.Select
return true; return true;
} }
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => ReceivePositionalInputAt(screenSpacePos);
protected override void Update() protected override void Update()
{ {
base.Update(); base.Update();