mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
Move font sizing to base class
This commit is contained in:
parent
c680012523
commit
7cb743a734
@ -12,6 +12,7 @@ namespace osu.Game.Screens.OnlinePlay.Match.Components
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
|
SpriteText.Font = SpriteText.Font.With(size: 14);
|
||||||
Triangles.TriangleScale = 1.5f;
|
Triangles.TriangleScale = 1.5f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
SpriteText.Font = SpriteText.Font.With(size: 14);
|
|
||||||
Text = "Create room";
|
Text = "Create room";
|
||||||
|
|
||||||
isConnected = multiplayerClient.IsConnected.GetBoundCopy();
|
isConnected = multiplayerClient.IsConnected.GetBoundCopy();
|
||||||
|
@ -11,7 +11,6 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
SpriteText.Font = SpriteText.Font.With(size: 14);
|
|
||||||
Text = "Create playlist";
|
Text = "Create playlist";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user