mirror of
https://github.com/ppy/osu
synced 2025-01-30 09:52:23 +00:00
Actuall add composite component to hierarchy
This commit is contained in:
parent
3a2dd0e7dd
commit
ec20942830
@ -116,6 +116,7 @@ namespace osu.Game.Screens.Play
|
||||
CreateFailingLayer(),
|
||||
//Needs to be initialized before skinnable drawables.
|
||||
tally = new JudgementTally(),
|
||||
KeyCounter = new KeyCounterController(),
|
||||
mainComponents = new HUDComponentsContainer { AlwaysPresent = true, },
|
||||
rulesetComponents = drawableRuleset != null
|
||||
? new HUDComponentsContainer(drawableRuleset.Ruleset.RulesetInfo) { AlwaysPresent = true, }
|
||||
@ -159,7 +160,6 @@ namespace osu.Game.Screens.Play
|
||||
},
|
||||
clicksPerSecondCalculator = new ClicksPerSecondCalculator(),
|
||||
};
|
||||
KeyCounter = new KeyCounterController();
|
||||
|
||||
hideTargets = new List<Drawable> { mainComponents, rulesetComponents, topRightElements };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user