mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Fix corner radius looking bad when graph bars are too short
This commit is contained in:
parent
66b093b17e
commit
2de42854c3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user