Limit the area of popover to DrawableChannel

popover may be blocked by textBar
This commit is contained in:
cdwcgt 2023-03-27 23:04:45 +09:00
parent 26f2d9047d
commit b065689cf8

View File

@ -123,7 +123,7 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
Width = side_bar_width, Width = side_bar_width,
}, },
new PopoverContainer new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Anchor = Anchor.TopRight, Anchor = Anchor.TopRight,
@ -135,9 +135,13 @@ namespace osu.Game.Overlays
}, },
Children = new Drawable[] Children = new Drawable[]
{ {
currentChannelContainer = new Container<DrawableChannel> new PopoverContainer
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Child = currentChannelContainer = new Container<DrawableChannel>
{
RelativeSizeAxes = Axes.Both,
}
}, },
loading = new LoadingLayer(true), loading = new LoadingLayer(true),
channelListing = new ChannelListing channelListing = new ChannelListing