mirror of
https://github.com/ppy/osu
synced 2025-02-27 08:01:45 +00:00
Fix directory selector not masking properly
This commit is contained in:
parent
06f507496a
commit
d04079f6ab
@ -40,19 +40,25 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
{
|
{
|
||||||
Padding = new MarginPadding(10);
|
Padding = new MarginPadding(10);
|
||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChild = new GridContainer
|
||||||
{
|
|
||||||
new FillFlowContainer
|
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Vertical,
|
RowDimensions = new[]
|
||||||
Children = new Drawable[]
|
{
|
||||||
|
new Dimension(GridSizeMode.Absolute, 50),
|
||||||
|
new Dimension(),
|
||||||
|
},
|
||||||
|
Content = new[]
|
||||||
|
{
|
||||||
|
new Drawable[]
|
||||||
{
|
{
|
||||||
new CurrentDirectoryDisplay
|
new CurrentDirectoryDisplay
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Height = 50,
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
new Drawable[]
|
||||||
|
{
|
||||||
new OsuScrollContainer
|
new OsuScrollContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
@ -65,7 +71,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CurrentDirectory.BindValueChanged(updateDisplay, true);
|
CurrentDirectory.BindValueChanged(updateDisplay, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user