mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09:00
Fix beatmap carousel overlapping beatmap info wedge
This commit is contained in:
parent
ad93eda399
commit
29cec54b3c
@ -89,8 +89,6 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
protected SongSelect()
|
protected SongSelect()
|
||||||
{
|
{
|
||||||
const float carousel_width = 640;
|
|
||||||
|
|
||||||
AddRangeInternal(new Drawable[]
|
AddRangeInternal(new Drawable[]
|
||||||
{
|
{
|
||||||
new ParallaxContainer
|
new ParallaxContainer
|
||||||
@ -103,7 +101,8 @@ namespace osu.Game.Screens.Select
|
|||||||
new WedgeBackground
|
new WedgeBackground
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Right = carousel_width * 0.76f },
|
Padding = new MarginPadding { Right = -150 },
|
||||||
|
Size = new Vector2(wedged_container_size.X, 1),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -144,8 +143,8 @@ namespace osu.Game.Screens.Select
|
|||||||
Carousel = new BeatmapCarousel
|
Carousel = new BeatmapCarousel
|
||||||
{
|
{
|
||||||
Masking = false,
|
Masking = false,
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Size = new Vector2(carousel_width, 1),
|
Size = new Vector2(wedged_container_size.X, 1),
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
SelectionChanged = updateSelectedBeatmap,
|
SelectionChanged = updateSelectedBeatmap,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user