mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Revert "Buffer the entire star rating range to fix overlapping alpha"
This reverts commit c680012523
.
This commit is contained in:
@ -33,41 +33,38 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
InternalChild = new BufferedContainer
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
new Container
|
||||||
Children = new Drawable[]
|
|
||||||
{
|
{
|
||||||
new Container
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Masking = true,
|
||||||
|
CornerRadius = 1,
|
||||||
|
Children = new[]
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
minBackground = new Box
|
||||||
Padding = new MarginPadding { Vertical = 1 },
|
|
||||||
Children = new[]
|
|
||||||
{
|
{
|
||||||
minBackground = new Box
|
Anchor = Anchor.TopCentre,
|
||||||
{
|
Origin = Anchor.TopCentre,
|
||||||
Anchor = Anchor.TopCentre,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Origin = Anchor.TopCentre,
|
Size = new Vector2(0.5f),
|
||||||
RelativeSizeAxes = Axes.Both,
|
},
|
||||||
Size = new Vector2(0.5f),
|
maxBackground = new Box
|
||||||
},
|
{
|
||||||
maxBackground = new Box
|
Anchor = Anchor.BottomCentre,
|
||||||
{
|
Origin = Anchor.BottomCentre,
|
||||||
Anchor = Anchor.BottomCentre,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Origin = Anchor.BottomCentre,
|
Size = new Vector2(0.5f),
|
||||||
RelativeSizeAxes = Axes.Both,
|
},
|
||||||
Size = new Vector2(0.5f),
|
}
|
||||||
},
|
},
|
||||||
}
|
new FillFlowContainer
|
||||||
},
|
{
|
||||||
new FillFlowContainer
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
minDisplay = new StarRatingDisplay(default),
|
||||||
Children = new Drawable[]
|
maxDisplay = new StarRatingDisplay(default)
|
||||||
{
|
|
||||||
minDisplay = new StarRatingDisplay(default),
|
|
||||||
maxDisplay = new StarRatingDisplay(default)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user