mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Make DrawableScore abstract and move shared class to own file
This commit is contained in:
@ -123,7 +123,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
missing.Hide();
|
||||
foreach (OnlineScore score in scores)
|
||||
{
|
||||
var drawableScore = type == ScoreType.Recent ? (DrawableScore)new TotalScore(score) : new DrawablePerformanceScore(score, includeWeight ? Math.Pow(0.95, scoreContainer.Count) : (double?)null);
|
||||
var drawableScore = type == ScoreType.Recent ? (DrawableScore)new DrawableTotalScore(score) : new DrawablePerformanceScore(score, includeWeight ? Math.Pow(0.95, scoreContainer.Count) : (double?)null);
|
||||
drawableScore.RelativeSizeAxes = Axes.X;
|
||||
drawableScore.Height = 60;
|
||||
scoreContainer.Add(drawableScore);
|
||||
|
Reference in New Issue
Block a user