mirror of https://github.com/ppy/osu
Hide settings at results screen
This commit is contained in:
parent
d130e7ebff
commit
c697dc90e4
|
@ -90,6 +90,8 @@ public class LatencyCertifierScreen : OsuScreen
|
|||
private double lastPoll;
|
||||
private int pollingMax;
|
||||
|
||||
private readonly FillFlowContainer settings;
|
||||
|
||||
[Resolved]
|
||||
private GameHost host { get; set; } = null!;
|
||||
|
||||
|
@ -128,7 +130,7 @@ public LatencyCertifierScreen()
|
|||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopRight,
|
||||
},
|
||||
new FillFlowContainer
|
||||
settings = new FillFlowContainer
|
||||
{
|
||||
Name = "Settings",
|
||||
AutoSizeAxes = Axes.Y,
|
||||
|
@ -256,6 +258,7 @@ private void showResults()
|
|||
{
|
||||
mainArea.Clear();
|
||||
resultsArea.Clear();
|
||||
settings.Hide();
|
||||
|
||||
var displayMode = host.Window?.CurrentDisplayMode.Value;
|
||||
|
||||
|
@ -437,6 +440,8 @@ private void changeDifficulty(int difficulty)
|
|||
|
||||
private void loadNextRound()
|
||||
{
|
||||
settings.Show();
|
||||
|
||||
attemptsAtCurrentDifficulty++;
|
||||
statusText.Text = $"Level {DifficultyLevel}\nRound {attemptsAtCurrentDifficulty} of {totalRoundForNextResultsScreen}";
|
||||
|
||||
|
|
Loading…
Reference in New Issue