mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:42:55 +08:00
Fix legacy combo counter not fully hiding for rulesets that implement their own
This commit is contained in:
parent
34b0101ff4
commit
5a591713ae
@ -68,6 +68,12 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
Scale = new Vector2(1.2f);
|
Scale = new Vector2(1.2f);
|
||||||
|
|
||||||
InternalChildren = new[]
|
InternalChildren = new[]
|
||||||
|
{
|
||||||
|
counterContainer = new Container
|
||||||
|
{
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
|
AlwaysPresent = true,
|
||||||
|
Children = new[]
|
||||||
{
|
{
|
||||||
popOutCount = new LegacySpriteText(LegacyFont.Combo)
|
popOutCount = new LegacySpriteText(LegacyFont.Combo)
|
||||||
{
|
{
|
||||||
@ -78,12 +84,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
BypassAutoSizeAxes = Axes.Both,
|
BypassAutoSizeAxes = Axes.Both,
|
||||||
},
|
},
|
||||||
counterContainer = new Container
|
|
||||||
{
|
|
||||||
AutoSizeAxes = Axes.Both,
|
|
||||||
AlwaysPresent = true,
|
|
||||||
Children = new[]
|
|
||||||
{
|
|
||||||
displayedCountSpriteText = new LegacySpriteText(LegacyFont.Combo)
|
displayedCountSpriteText = new LegacySpriteText(LegacyFont.Combo)
|
||||||
{
|
{
|
||||||
// Initial text and AlwaysPresent allow the counter to have a size before it first displays a combo.
|
// Initial text and AlwaysPresent allow the counter to have a size before it first displays a combo.
|
||||||
|
Loading…
Reference in New Issue
Block a user