1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

Don't use OverlayContainer (what)

This commit is contained in:
Dean Herbert 2023-01-17 18:30:50 +09:00
parent 181473c5fc
commit ca17993769

View File

@ -13,7 +13,7 @@ using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Play.HUD.JudgementCounter namespace osu.Game.Screens.Play.HUD.JudgementCounter
{ {
public partial class JudgementCounter : OverlayContainer public partial class JudgementCounter : VisibilityContainer
{ {
public BindableBool ShowName = new BindableBool(); public BindableBool ShowName = new BindableBool();
public Bindable<FillDirection> Direction = new Bindable<FillDirection>(); public Bindable<FillDirection> Direction = new Bindable<FillDirection>();
@ -30,6 +30,7 @@ namespace osu.Game.Screens.Play.HUD.JudgementCounter
private void load(OsuColour colours, IBindable<RulesetInfo> ruleset) private void load(OsuColour colours, IBindable<RulesetInfo> ruleset)
{ {
AutoSizeAxes = Axes.Both; AutoSizeAxes = Axes.Both;
InternalChild = flowContainer = new FillFlowContainer InternalChild = flowContainer = new FillFlowContainer
{ {
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,