mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
move value set to constructor and make private readonly
This commit is contained in:
@ -123,14 +123,13 @@ namespace osu.Game.Tournament.Components
|
||||
|
||||
if (!string.IsNullOrEmpty(mod))
|
||||
{
|
||||
AddInternal(new TournamentModDisplay
|
||||
AddInternal(new TournamentModDisplay(mod)
|
||||
{
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
Margin = new MarginPadding(10),
|
||||
Width = 60,
|
||||
RelativeSizeAxes = Axes.Y,
|
||||
ModAcronym = mod
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user