mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Replace copy-constructor/method with extension method
This commit is contained in:
@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Dialog
|
||||
},
|
||||
},
|
||||
},
|
||||
header = new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(t.Font, size: 25))
|
||||
header = new OsuTextFlowContainer(t => t.Font = t.Font.With(size: 25))
|
||||
{
|
||||
Origin = Anchor.TopCentre,
|
||||
Anchor = Anchor.TopCentre,
|
||||
@ -180,7 +180,7 @@ namespace osu.Game.Overlays.Dialog
|
||||
Padding = new MarginPadding(15),
|
||||
TextAnchor = Anchor.TopCentre,
|
||||
},
|
||||
body = new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(t.Font, size: 18))
|
||||
body = new OsuTextFlowContainer(t => t.Font = t.Font.With(size: 18))
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
|
Reference in New Issue
Block a user