mirror of https://github.com/ppy/osu
Fix line endings and derp that was causing request failures.
This commit is contained in:
parent
ae201f0ef5
commit
ac1fb5118c
|
@ -51,7 +51,6 @@ public IEnumerable<Score> Scores
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
scores = value;
|
scores = value;
|
||||||
getScoresRequest?.Cancel();
|
|
||||||
getScoresRequest = null;
|
getScoresRequest = null;
|
||||||
|
|
||||||
placeholderContainer.FadeOut(fade_duration);
|
placeholderContainer.FadeOut(fade_duration);
|
||||||
|
@ -202,6 +201,8 @@ private void updateScores()
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
if (!IsLoaded) return;
|
||||||
|
|
||||||
|
getScoresRequest?.Cancel();
|
||||||
|
|
||||||
Scores = null;
|
Scores = null;
|
||||||
|
|
||||||
if (api == null || Beatmap?.OnlineBeatmapID == null) return;
|
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)
|
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);
|
return base.OnMouseUp(state, args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue