mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 18:07:28 +08:00
Fix more typos and adjust font size to match web
This commit is contained in:
parent
9e0277b2fd
commit
ed208ef127
@ -286,16 +286,16 @@ namespace osu.Game.Tests.Visual.Online
|
||||
public void TestBeatmapSetWithGuestDIff()
|
||||
{
|
||||
AddStep("show map", () => overlay.ShowBeatmapSet(createBeatmapSetWithGuestDiff()));
|
||||
AddStep("Move mouse to host diff", () =>
|
||||
AddStep("move mouse to host diff", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(0));
|
||||
});
|
||||
AddAssert("Guset mapper information not show", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().All(s => s.Text != "BanchoBot"));
|
||||
AddAssert("guest mapper information not shown", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().All(s => s.Text != "BanchoBot"));
|
||||
AddStep("move mouse to guest diff", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(1));
|
||||
});
|
||||
AddAssert("Guset mapper information show", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().Any(s => s.Text == "BanchoBot"));
|
||||
AddAssert("guest mapper information shown", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().Any(s => s.Text == "BanchoBot"));
|
||||
}
|
||||
|
||||
private APIBeatmapSet createManyDifficultiesBeatmapSet()
|
||||
|
@ -90,11 +90,12 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
Font = OsuFont.GetFont(size: 17, weight: FontWeight.Bold)
|
||||
},
|
||||
guestMapperContainer = new LinkFlowContainer(s =>
|
||||
s.Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 15))
|
||||
s.Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 11))
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
Margin = new MarginPadding { Bottom = 1 },
|
||||
},
|
||||
starRatingContainer = new FillFlowContainer
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user