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

Use ShouldBeConsideredForInput instead of ReceivePositionalInputAtSubTree

This commit is contained in:
Dean Herbert 2021-05-17 19:29:59 +09:00
parent 60f3e628bc
commit 42d2711dc6

View File

@ -92,7 +92,8 @@ namespace osu.Game.Skinning.Editor
private class ToolboxComponentButton : OsuButton private class ToolboxComponentButton : OsuButton
{ {
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => false; protected override bool ShouldBeConsideredForInput(Drawable child) => false;
public override bool PropagateNonPositionalInputSubTree => false; public override bool PropagateNonPositionalInputSubTree => false;
private readonly Drawable component; private readonly Drawable component;