mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Use ShouldBeConsideredForInput
instead of ReceivePositionalInputAtSubTree
This commit is contained in:
parent
60f3e628bc
commit
42d2711dc6
@ -92,7 +92,8 @@ namespace osu.Game.Skinning.Editor
|
||||
|
||||
private class ToolboxComponentButton : OsuButton
|
||||
{
|
||||
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => false;
|
||||
protected override bool ShouldBeConsideredForInput(Drawable child) => false;
|
||||
|
||||
public override bool PropagateNonPositionalInputSubTree => false;
|
||||
|
||||
private readonly Drawable component;
|
||||
|
Loading…
Reference in New Issue
Block a user