mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix spacing specifications
This commit is contained in:
@ -38,7 +38,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
|||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Spacing = new Vector2(3),
|
Spacing = new Vector2(0, 3),
|
||||||
},
|
},
|
||||||
date = new DrawableDate(historyItem.CreatedAt)
|
date = new DrawableDate(historyItem.CreatedAt)
|
||||||
{
|
{
|
||||||
@ -59,14 +59,15 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
|||||||
if (!string.IsNullOrEmpty(prefix))
|
if (!string.IsNullOrEmpty(prefix))
|
||||||
{
|
{
|
||||||
linkFlowContainer.AddText(prefix);
|
linkFlowContainer.AddText(prefix);
|
||||||
linkFlowContainer.AddText($@"{Math.Abs(historyItem.Amount)} kudosu", t =>
|
linkFlowContainer.AddText($@" {Math.Abs(historyItem.Amount)} kudosu ", t =>
|
||||||
{
|
{
|
||||||
t.Font = t.Font.With(italics: true);
|
t.Font = t.Font.With(italics: true);
|
||||||
t.Colour = colours.Blue;
|
t.Colour = colours.Blue;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
linkFlowContainer.AddLinks(formattedSource.Text + " ", formattedSource.Links);
|
linkFlowContainer.AddLinks(formattedSource.Text, formattedSource.Links);
|
||||||
|
linkFlowContainer.AddText(" ");
|
||||||
linkFlowContainer.AddLink(historyItem.Post.Title, historyItem.Post.Url);
|
linkFlowContainer.AddLink(historyItem.Post.Title, historyItem.Post.Url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user