mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
add tooltip to country flags
This commit is contained in:
@ -109,7 +109,7 @@ namespace osu.Game.Overlays.Profile
|
||||
Origin = Anchor.BottomLeft,
|
||||
Y = -48,
|
||||
},
|
||||
countryFlag = new DrawableFlag(user.Country?.FlagName)
|
||||
countryFlag = new DrawableFlag(user.Country)
|
||||
{
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
@ -333,7 +333,7 @@ namespace osu.Game.Overlays.Profile
|
||||
{
|
||||
infoTextLeft.AddText("from ");
|
||||
infoTextLeft.AddText(user.Country.FullName, boldItalic);
|
||||
countryFlag.FlagName = user.Country.FlagName;
|
||||
countryFlag.Country = user.Country;
|
||||
}
|
||||
infoTextLeft.NewParagraph();
|
||||
|
||||
|
Reference in New Issue
Block a user