mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Apply batch fixing of built-in types using var
This commit is contained in:
@ -43,7 +43,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
int passCount = beatmapInfo?.OnlineInfo?.PassCount ?? 0;
|
||||
int playCount = beatmapInfo?.OnlineInfo?.PlayCount ?? 0;
|
||||
|
||||
var rate = playCount != 0 ? (float)passCount / playCount : 0;
|
||||
float rate = playCount != 0 ? (float)passCount / playCount : 0;
|
||||
successPercent.Text = rate.ToLocalisableString(@"0.#%");
|
||||
successRate.Length = rate;
|
||||
percentContainer.ResizeWidthTo(successRate.Length, 250, Easing.InOutCubic);
|
||||
|
Reference in New Issue
Block a user