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:
parent
66b093b17e
commit
2de42854c3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user