mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix more typos and adjust font size to match web
This commit is contained in:
@ -286,16 +286,16 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
public void TestBeatmapSetWithGuestDIff()
|
public void TestBeatmapSetWithGuestDIff()
|
||||||
{
|
{
|
||||||
AddStep("show map", () => overlay.ShowBeatmapSet(createBeatmapSetWithGuestDiff()));
|
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));
|
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", () =>
|
AddStep("move mouse to guest diff", () =>
|
||||||
{
|
{
|
||||||
InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(1));
|
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()
|
private APIBeatmapSet createManyDifficultiesBeatmapSet()
|
||||||
|
@ -90,11 +90,12 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Font = OsuFont.GetFont(size: 17, weight: FontWeight.Bold)
|
Font = OsuFont.GetFont(size: 17, weight: FontWeight.Bold)
|
||||||
},
|
},
|
||||||
guestMapperContainer = new LinkFlowContainer(s =>
|
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,
|
AutoSizeAxes = Axes.Both,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
|
Margin = new MarginPadding { Bottom = 1 },
|
||||||
},
|
},
|
||||||
starRatingContainer = new FillFlowContainer
|
starRatingContainer = new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user