mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix line endings and derp that was causing request failures.
This commit is contained in:
@ -24,7 +24,7 @@ using osu.Framework.Logging;
|
||||
using System.Net;
|
||||
using osu.Game.Rulesets;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Beatmaps.ControlPoints;
|
||||
using osu.Game.Beatmaps.ControlPoints;
|
||||
using osu.Framework.Audio.Track;
|
||||
|
||||
namespace osu.Game.Screens.Select.Leaderboards
|
||||
@ -51,7 +51,6 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
set
|
||||
{
|
||||
scores = value;
|
||||
getScoresRequest?.Cancel();
|
||||
getScoresRequest = null;
|
||||
|
||||
placeholderContainer.FadeOut(fade_duration);
|
||||
@ -202,6 +201,8 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
{
|
||||
if (!IsLoaded) return;
|
||||
|
||||
getScoresRequest?.Cancel();
|
||||
|
||||
Scores = null;
|
||||
|
||||
if (api == null || Beatmap?.OnlineBeatmapID == null) return;
|
||||
@ -318,7 +319,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
icon.RotateTo(rightWard ? 3 : -3, duration * 2, Easing.OutCubic);
|
||||
icon.Animate(
|
||||
i => i.MoveToY(-3, duration, Easing.Out),
|
||||
i => i.ScaleTo(IsHovered ? 1.3f : 1.1f, duration, Easing.Out)
|
||||
i => i.ScaleTo(IsHovered ? 1.3f : 1.1f, duration, Easing.Out)
|
||||
).Then(
|
||||
i => i.MoveToY(0, duration, Easing.In),
|
||||
i => i.ScaleTo(IsHovered ? 1.4f : 1f, duration, Easing.In)
|
||||
@ -350,7 +351,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user