From 42d2711dc6ca0e6cac28bd70c95d4d75272be9b7 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 17 May 2021 19:29:59 +0900 Subject: [PATCH] Use `ShouldBeConsideredForInput` instead of `ReceivePositionalInputAtSubTree` --- osu.Game/Skinning/Editor/SkinComponentToolbox.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Skinning/Editor/SkinComponentToolbox.cs b/osu.Game/Skinning/Editor/SkinComponentToolbox.cs index acadaa3b74..471ed9c6ec 100644 --- a/osu.Game/Skinning/Editor/SkinComponentToolbox.cs +++ b/osu.Game/Skinning/Editor/SkinComponentToolbox.cs @@ -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;