Construct DwarableScore using null weight.

This commit is contained in:
Huo Yaoyuan 2017-10-15 16:15:35 +08:00 committed by Dean Herbert
parent 4a064da30f
commit 90592b0757
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ private void showMore()
{ {
missing.Hide(); missing.Hide();
foreach (OnlineScore score in scores) foreach (OnlineScore score in scores)
scoreContainer.Add(new DrawableScore(score, includeWeigth ? Math.Pow(0.95, scoreContainer.Count) : -1) scoreContainer.Add(new DrawableScore(score, includeWeigth ? Math.Pow(0.95, scoreContainer.Count) : (double?)null)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 60, Height = 60,