1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Remove incorrect and pointless complexity to width changes

This commit is contained in:
Dean Herbert 2022-04-07 18:16:14 +09:00
parent 7530fe5adf
commit 555aee7b6a

View File

@ -72,10 +72,7 @@ namespace osu.Game.Overlays.Toolbar
private void updateMetrics()
{
if (use24HourDisplay)
Width = 70;
else
Width = showRuntime ? 66 : 45; // Allows for space for game time up to 99 days (in the padding area since this is quite rare).
Width = showRuntime || use24HourDisplay ? 66 : 45; // Allows for space for game time up to 99 days (in the padding area since this is quite rare).
gameTime.FadeTo(showRuntime ? 1 : 0);
}