mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Fix background input
This commit is contained in:
parent
d49758d149
commit
11f067d7d6
@ -65,9 +65,12 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
Masking = true;
|
||||
CornerRadius = 5;
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
background = new ColumnBackground(direction) { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
InternalChildren = new[]
|
||||
{
|
||||
background = new ColumnBackground(direction) { RelativeSizeAxes = Axes.Both },
|
||||
// For input purposes, the background is added at the highest depth, but is then proxied back below all other elements
|
||||
background.CreateProxy(),
|
||||
new Container
|
||||
{
|
||||
Name = "Hit target + hit objects",
|
||||
@ -158,6 +161,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
}
|
||||
}
|
||||
},
|
||||
background,
|
||||
TopLevelContainer = new Container { RelativeSizeAxes = Axes.Both }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user