mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 16:25:32 +08:00
Change initial chart colour
This commit is contained in:
parent
c8f36a0c66
commit
2906f4b401
@ -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();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user