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:
parent
7530fe5adf
commit
555aee7b6a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user