Fix line endings and derp that was causing request failures.

This commit is contained in:
Unknown 2017-11-28 11:35:39 +05:30
parent ae201f0ef5
commit ac1fb5118c
1 changed files with 5 additions and 4 deletions

View File

@ -51,7 +51,6 @@ public IEnumerable<Score> Scores
set
{
scores = value;
getScoresRequest?.Cancel();
getScoresRequest = null;
placeholderContainer.FadeOut(fade_duration);
@ -202,6 +201,8 @@ private void updateScores()
{
if (!IsLoaded) return;
getScoresRequest?.Cancel();
Scores = null;
if (api == null || Beatmap?.OnlineBeatmapID == null) return;
@ -350,7 +351,7 @@ protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
protected override bool OnMouseUp(InputState state, MouseUpEventArgs args)
{
icon.ScaleTo(1.2f, 400, Easing.OutElastic).Then().ScaleTo(1f, 400, Easing.OutElastic);
icon.ScaleTo(1.2f, 400, Easing.OutElastic);
return base.OnMouseUp(state, args);
}
}