mirror of https://github.com/ppy/osu
Make appveyor happy.
This commit is contained in:
parent
3d8b56fe57
commit
a50bbf7f42
|
@ -275,7 +275,6 @@ private void setupUserSettings()
|
|||
|
||||
private class DummySongSelect : PlaySongSelect
|
||||
{
|
||||
|
||||
protected override BackgroundScreen CreateBackground()
|
||||
{
|
||||
FadeAccessibleBackground background = new FadeAccessibleBackground(Beatmap.Value);
|
||||
|
@ -319,7 +318,6 @@ private void load(OsuConfigManager config)
|
|||
|
||||
private class FadeAccessibleResults : SoloResults
|
||||
{
|
||||
|
||||
public FadeAccessibleResults(ScoreInfo score)
|
||||
: base(score)
|
||||
{
|
||||
|
@ -332,7 +330,6 @@ public FadeAccessibleResults(ScoreInfo score)
|
|||
|
||||
private class TestPlayer : Player
|
||||
{
|
||||
|
||||
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
|
||||
|
||||
protected override UserDimContainer CreateStoryboardContainer()
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
using osu.Game.Rulesets.Osu;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Screens.Play;
|
||||
using osu.Game.Users;
|
||||
using osuTK;
|
||||
using osuTK.Input;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace osu.Game.Tests.Visual.Online
|
|||
[TestFixture]
|
||||
public class TestCaseUserPanel : OsuTestCase
|
||||
{
|
||||
UserPanel flyte;
|
||||
UserPanel peppy;
|
||||
private readonly UserPanel flyte;
|
||||
private readonly UserPanel peppy;
|
||||
|
||||
public TestCaseUserPanel()
|
||||
{
|
||||
|
|
|
@ -64,15 +64,15 @@ public abstract class OsuScreen : Screen, IOsuScreen, IKeyBindingHandler<GlobalA
|
|||
/// </summary>
|
||||
protected UserActivity ScreenActivity
|
||||
{
|
||||
get => activity;
|
||||
set
|
||||
{
|
||||
if (value == null) return;
|
||||
if (value == activity) return;
|
||||
if (api == null) return;
|
||||
|
||||
activity = value;
|
||||
api.LocalUser.Value.Activity.Value = activity;
|
||||
}
|
||||
get => activity;
|
||||
}
|
||||
|
||||
private UserActivity activity;
|
||||
|
|
|
@ -65,6 +65,4 @@ public class UserActivityInLobby : UserActivity
|
|||
{
|
||||
public override string Status => @"in Multiplayer Lobby";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -238,10 +238,10 @@ private void displayStatus(UserStatus status, UserActivity activity = null)
|
|||
statusBg.FadeColour(activity.GetAppropriateColour(colours), 500, Easing.OutQuint);
|
||||
return;
|
||||
}
|
||||
|
||||
statusMessage.Text = status.Message;
|
||||
statusBg.FadeColour(status?.GetAppropriateColour(colours) ?? colours.Gray5, 500, Easing.OutQuint);
|
||||
}
|
||||
|
||||
statusMessage.Text = status?.Message;
|
||||
statusBg.FadeColour(status?.GetAppropriateColour(colours) ?? colours.Gray5, 500, Easing.OutQuint);
|
||||
}
|
||||
|
||||
public MenuItem[] ContextMenuItems => new MenuItem[]
|
||||
|
|
Loading…
Reference in New Issue