mirror of
https://github.com/ppy/osu
synced 2024-12-17 20:35:21 +00:00
Start all counters hidden to fix pop out animation when some portions are hidden
This commit is contained in:
parent
448abf897a
commit
7d1fd24ab4
@ -76,8 +76,14 @@ namespace osu.Game.Screens.Play.HUD.JudgementCounter
|
|||||||
|
|
||||||
private void updateMode()
|
private void updateMode()
|
||||||
{
|
{
|
||||||
foreach (var counter in CounterFlow.Children.Where(counter => !counter.Result.Type.IsBasic()))
|
foreach (var counter in CounterFlow.Children)
|
||||||
{
|
{
|
||||||
|
if (counter.Result.Type.IsBasic())
|
||||||
|
{
|
||||||
|
counter.Show();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
switch (Mode.Value)
|
switch (Mode.Value)
|
||||||
{
|
{
|
||||||
case DisplayMode.Simple:
|
case DisplayMode.Simple:
|
||||||
@ -116,7 +122,7 @@ namespace osu.Game.Screens.Play.HUD.JudgementCounter
|
|||||||
private JudgementCounter createCounter(JudgementTally.JudgementCount info) =>
|
private JudgementCounter createCounter(JudgementTally.JudgementCount info) =>
|
||||||
new JudgementCounter(info)
|
new JudgementCounter(info)
|
||||||
{
|
{
|
||||||
State = { Value = Visibility.Visible },
|
State = { Value = Visibility.Hidden },
|
||||||
ShowName = { BindTarget = ShowJudgementNames }
|
ShowName = { BindTarget = ShowJudgementNames }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user