Revert "Buffer the entire star rating range to fix overlapping alpha"

This reverts commit c680012523.
This commit is contained in:
smoogipoo
2021-08-11 18:15:53 +09:00
parent 0f5bea235c
commit eb59f3c591

View File

@ -33,15 +33,13 @@ namespace osu.Game.Screens.OnlinePlay.Components
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
InternalChild = new BufferedContainer InternalChildren = new Drawable[]
{
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{ {
new Container new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Vertical = 1 }, Masking = true,
CornerRadius = 1,
Children = new[] Children = new[]
{ {
minBackground = new Box minBackground = new Box
@ -69,7 +67,6 @@ namespace osu.Game.Screens.OnlinePlay.Components
maxDisplay = new StarRatingDisplay(default) maxDisplay = new StarRatingDisplay(default)
} }
} }
}
}; };
} }