mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Replace copy-constructor/method with extension method
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
using osuTK.Graphics;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Overlays.SearchableList
|
||||
@ -22,7 +21,7 @@ namespace osu.Game.Overlays.SearchableList
|
||||
{
|
||||
public HeaderTabItem(T value) : base(value)
|
||||
{
|
||||
Text.Font = OsuFont.GetFont(Text.Font, size: 16);
|
||||
Text.Font = Text.Font.With(size: 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user