mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 23:32:56 +08:00
Merge pull request #18720 from bdach/twemoji-flags
Update flag sizes after switch to twemoji assets
This commit is contained in:
commit
1c3cc985bc
@ -51,7 +51,7 @@
|
|||||||
<Reference Include="Java.Interop" />
|
<Reference Include="Java.Interop" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.616.0" />
|
||||||
<PackageReference Include="ppy.osu.Framework.Android" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Framework.Android" Version="2022.615.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Label="Transitive Dependencies">
|
<ItemGroup Label="Transitive Dependencies">
|
||||||
|
@ -32,7 +32,7 @@ namespace osu.Game.Tournament.Components
|
|||||||
{
|
{
|
||||||
if (team == null) return;
|
if (team == null) return;
|
||||||
|
|
||||||
Size = new Vector2(75, 50);
|
Size = new Vector2(75, 54);
|
||||||
Masking = true;
|
Masking = true;
|
||||||
CornerRadius = 5;
|
CornerRadius = 5;
|
||||||
Child = flagSprite = new Sprite
|
Child = flagSprite = new Sprite
|
||||||
|
@ -310,7 +310,7 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
|
|||||||
public class ScrollingTeam : DrawableTournamentTeam
|
public class ScrollingTeam : DrawableTournamentTeam
|
||||||
{
|
{
|
||||||
public const float WIDTH = 58;
|
public const float WIDTH = 58;
|
||||||
public const float HEIGHT = 41;
|
public const float HEIGHT = 44;
|
||||||
|
|
||||||
private readonly Box outline;
|
private readonly Box outline;
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ namespace osu.Game.Online.Leaderboards
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Size = new Vector2(30f, 20f),
|
Size = new Vector2(28, 20),
|
||||||
},
|
},
|
||||||
new DateLabel(Score.Date)
|
new DateLabel(Score.Date)
|
||||||
{
|
{
|
||||||
|
@ -165,7 +165,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
},
|
},
|
||||||
new UpdateableFlag(score.User.Country)
|
new UpdateableFlag(score.User.Country)
|
||||||
{
|
{
|
||||||
Size = new Vector2(19, 13),
|
Size = new Vector2(19, 14),
|
||||||
ShowPlaceholderOnNull = false,
|
ShowPlaceholderOnNull = false,
|
||||||
},
|
},
|
||||||
username,
|
username,
|
||||||
|
@ -116,7 +116,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Size = new Vector2(19, 13),
|
Size = new Vector2(19, 14),
|
||||||
Margin = new MarginPadding { Top = 3 }, // makes spacing look more even
|
Margin = new MarginPadding { Top = 3 }, // makes spacing look more even
|
||||||
ShowPlaceholderOnNull = false,
|
ShowPlaceholderOnNull = false,
|
||||||
},
|
},
|
||||||
|
@ -133,7 +133,7 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
{
|
{
|
||||||
userFlag = new UpdateableFlag
|
userFlag = new UpdateableFlag
|
||||||
{
|
{
|
||||||
Size = new Vector2(30, 20),
|
Size = new Vector2(28, 20),
|
||||||
ShowPlaceholderOnNull = false,
|
ShowPlaceholderOnNull = false,
|
||||||
},
|
},
|
||||||
userCountryText = new OsuSpriteText
|
userCountryText = new OsuSpriteText
|
||||||
|
@ -77,7 +77,7 @@ namespace osu.Game.Overlays.Rankings
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Size = new Vector2(30, 20)
|
Size = new Vector2(28, 20)
|
||||||
},
|
},
|
||||||
countryName = new OsuSpriteText
|
countryName = new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
@ -97,7 +97,7 @@ namespace osu.Game.Overlays.Rankings.Tables
|
|||||||
{
|
{
|
||||||
new UpdateableFlag(GetCountry(item))
|
new UpdateableFlag(GetCountry(item))
|
||||||
{
|
{
|
||||||
Size = new Vector2(30, 20),
|
Size = new Vector2(28, 20),
|
||||||
ShowPlaceholderOnNull = false,
|
ShowPlaceholderOnNull = false,
|
||||||
},
|
},
|
||||||
CreateFlagContent(item)
|
CreateFlagContent(item)
|
||||||
|
@ -125,7 +125,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Participants
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Size = new Vector2(30, 20),
|
Size = new Vector2(28, 20),
|
||||||
Country = user?.Country
|
Country = user?.Country
|
||||||
},
|
},
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Users
|
|||||||
|
|
||||||
protected UpdateableFlag CreateFlag() => new UpdateableFlag(User.Country)
|
protected UpdateableFlag CreateFlag() => new UpdateableFlag(User.Country)
|
||||||
{
|
{
|
||||||
Size = new Vector2(39, 26),
|
Size = new Vector2(36, 26),
|
||||||
Action = Action,
|
Action = Action,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Realm" Version="10.14.0" />
|
<PackageReference Include="Realm" Version="10.14.0" />
|
||||||
<PackageReference Include="ppy.osu.Framework" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Framework" Version="2022.615.0" />
|
||||||
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.616.0" />
|
||||||
<PackageReference Include="Sentry" Version="3.17.1" />
|
<PackageReference Include="Sentry" Version="3.17.1" />
|
||||||
<PackageReference Include="SharpCompress" Version="0.31.0" />
|
<PackageReference Include="SharpCompress" Version="0.31.0" />
|
||||||
<PackageReference Include="NUnit" Version="3.13.3" />
|
<PackageReference Include="NUnit" Version="3.13.3" />
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Label="Package References">
|
<ItemGroup Label="Package References">
|
||||||
<PackageReference Include="ppy.osu.Framework.iOS" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Framework.iOS" Version="2022.615.0" />
|
||||||
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.615.0" />
|
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.616.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- See https://github.com/dotnet/runtime/issues/35988 (can be removed after Xamarin uses net6.0) -->
|
<!-- See https://github.com/dotnet/runtime/issues/35988 (can be removed after Xamarin uses net6.0) -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user