1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 14:47:25 +08:00

Fix corner radius looking bad when graph bars are too short

This commit is contained in:
Dean Herbert 2024-06-25 15:43:52 +09:00
parent 66b093b17e
commit 2de42854c3
No known key found for this signature in database

View File

@ -174,7 +174,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
{
base.Update();
CircularBar.CornerRadius = CircularBar.DrawWidth / 4;
CircularBar.CornerRadius = Math.Min(CircularBar.DrawHeight / 2, CircularBar.DrawWidth / 4);
}
public void UpdateCounts(long newCount, long newMax)