mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Replace copy-constructor/method with extension method
This commit is contained in:
@ -110,8 +110,8 @@ namespace osu.Game.Screens.Edit.Components.Menus
|
||||
{
|
||||
public TextContainer()
|
||||
{
|
||||
NormalText.Font = OsuFont.GetFont(NormalText.Font, size: 14);
|
||||
BoldText.Font = OsuFont.GetFont(BoldText.Font, size: 14);
|
||||
NormalText.Font = NormalText.Font.With(size: 14);
|
||||
BoldText.Font = BoldText.Font.With(size: 14);
|
||||
NormalText.Margin = BoldText.Margin = new MarginPadding { Horizontal = 10, Vertical = MARGIN_VERTICAL };
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user