1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 01:56:07 +08:00

Reposition the real time digital clock to the centre when shown solely

This commit is contained in:
CloneWith 2024-12-12 21:10:46 +08:00
parent 88241d5b95
commit cc3c3b05f0
No known key found for this signature in database
GPG Key ID: F4FC0D1E91D7FFD5

View File

@ -78,6 +78,9 @@ namespace osu.Game.Overlays.Toolbar
{
Width = showRuntime || !use24HourDisplay ? 66 : 45; // Allows for space for game time up to 99 days (in the padding area since this is quite rare).
realTime.Anchor = showRuntime ? Anchor.TopLeft : Anchor.Centre;
realTime.Origin = showRuntime ? Anchor.TopLeft : Anchor.Centre;
gameTime.FadeTo(showRuntime ? 1 : 0);
}
}