mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Replace copy-constructor/method with extension method
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osuTK.Graphics;
|
||||
|
||||
@ -14,7 +13,7 @@ namespace osu.Game.Overlays.AccountCreation
|
||||
private readonly List<Drawable> errorDrawables = new List<Drawable>();
|
||||
|
||||
public ErrorTextFlowContainer()
|
||||
: base(cp => cp.Font = OsuFont.GetFont(cp.Font, size: 12))
|
||||
: base(cp => cp.Font = cp.Font.With(size: 12))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user