mirror of https://github.com/ppy/osu
Fix background input
This commit is contained in:
parent
d49758d149
commit
11f067d7d6
|
@ -65,9 +65,12 @@ public Column(ScrollingDirection direction = ScrollingDirection.Up)
|
|||
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 @@ public Column(ScrollingDirection direction = ScrollingDirection.Up)
|
|||
}
|
||||
}
|
||||
},
|
||||
background,
|
||||
TopLevelContainer = new Container { RelativeSizeAxes = Axes.Both }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue