1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +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(); base.Update();
CircularBar.CornerRadius = CircularBar.DrawWidth / 4; CircularBar.CornerRadius = Math.Min(CircularBar.DrawHeight / 2, CircularBar.DrawWidth / 4);
} }
public void UpdateCounts(long newCount, long newMax) public void UpdateCounts(long newCount, long newMax)