1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Change initial chart colour

This commit is contained in:
HoutarouOreki 2018-07-25 14:31:41 +02:00
parent c8f36a0c66
commit 2906f4b401
2 changed files with 22 additions and 1 deletions

View File

@ -2,6 +2,7 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual
@ -17,6 +18,25 @@ namespace osu.Game.Tests.Visual
Add(changelog = new ChangelogOverlay());
AddStep(@"Show", changelog.Show);
AddStep(@"Hide", changelog.Hide);
AddWaitStep(3);
AddStep(@"Show with Lazer 2018.712.0", () =>
{
changelog.FetchAndShowBuild(new APIChangelog
{
Version = "2018.712.0",
UpdateStream = new UpdateStream { Name = "lazer" },
});
changelog.Show();
});
AddWaitStep(3);
AddStep(@"Hide", changelog.Hide);
AddWaitStep(3);
AddStep(@"Show with listing", () =>
{
changelog.ShowListing();
changelog.Show();
});
}
}
}

View File

@ -35,7 +35,7 @@ namespace osu.Game.Overlays.Changelog
{
background = new Box
{
Colour = StreamColour.STABLE,
Colour = OsuColour.Gray(0),
RelativeSizeAxes = Axes.Both,
},
new SpriteText
@ -44,6 +44,7 @@ namespace osu.Game.Overlays.Changelog
TextSize = 28,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Colour = OsuColour.Gray(1),
},
},
};