Skip to content

Commit d3701fb

Browse files
Fix 3 CI errors: osuTK reference, unused field, and null check simplification
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/4b89ea94-0ef4-4f3a-9dd7-ffb7cd4e8d09 Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
1 parent 5fdf637 commit d3701fb

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

osu.Game.Rulesets.Osu/Edit/OsuSliderVelocityToolboxGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
using osu.Game.Rulesets.Objects;
1515
using osu.Game.Rulesets.Osu.Objects;
1616
using osu.Game.Screens.Edit;
17-
using osuTK;
17+
using System.Numerics;
1818

1919
namespace osu.Game.Rulesets.Osu.Edit
2020
{

osu.Game/Screens/Edit/Components/FormSampleSet.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ private void updateState()
274274

275275
recycleSamples();
276276

277-
if (triangles != null)
278-
triangles.Colour = ColourInfo.GradientVertical(triangleGradientSecondColour ?? default, BackgroundColour);
277+
triangles?.Colour = ColourInfo.GradientVertical(triangleGradientSecondColour ?? default, BackgroundColour);
279278
}
280279

281280
private void recycleSamples() => Schedule(() =>

osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@ private void onMatchmakingLobbyStatusChanged(MatchmakingLobbyStatus status) => S
440440
loadRecentMatches(status.RecentMatches.OfType<RankedPlayRoomState>().ToArray()).FireAndForget();
441441
});
442442

443-
private int historyInsertOrder;
444-
445443
private async Task loadRecentMatches(RankedPlayRoomState[] matches)
446444
{
447445
// matches initial API response.

0 commit comments

Comments
 (0)