1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 06:29:52 +08:00

Merge pull request #20840 from Joehuu/fix-skin-toolbox-component-button

Fix skin toolbox component button not playing hover/click sounds
This commit is contained in:
Dean Herbert
2022-10-21 10:03:18 +09:00
committed by GitHub
Unverified
@@ -85,10 +85,6 @@ namespace osu.Game.Skinning.Editor
{
public Action<Type>? RequestPlacement;
protected override bool ShouldBeConsideredForInput(Drawable child) => false;
public override bool PropagateNonPositionalInputSubTree => false;
private readonly Drawable component;
private readonly CompositeDrawable? dependencySource;
@@ -177,6 +173,10 @@ namespace osu.Game.Skinning.Editor
public class DependencyBorrowingContainer : Container
{
protected override bool ShouldBeConsideredForInput(Drawable child) => false;
public override bool PropagateNonPositionalInputSubTree => false;
private readonly CompositeDrawable? donor;
public DependencyBorrowingContainer(CompositeDrawable? donor)