mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Move duration higher in match settings display
This commit is contained in:
@ -129,6 +129,26 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
OnCommit = (sender, text) => apply(),
|
OnCommit = (sender, text) => apply(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
new Section("Duration")
|
||||||
|
{
|
||||||
|
Child = DurationField = new DurationDropdown
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Items = new[]
|
||||||
|
{
|
||||||
|
TimeSpan.FromMinutes(30),
|
||||||
|
TimeSpan.FromHours(1),
|
||||||
|
TimeSpan.FromHours(2),
|
||||||
|
TimeSpan.FromHours(4),
|
||||||
|
TimeSpan.FromHours(8),
|
||||||
|
TimeSpan.FromHours(12),
|
||||||
|
//TimeSpan.FromHours(16),
|
||||||
|
TimeSpan.FromHours(24),
|
||||||
|
TimeSpan.FromDays(3),
|
||||||
|
TimeSpan.FromDays(7)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
new Section("Room visibility")
|
new Section("Room visibility")
|
||||||
{
|
{
|
||||||
Alpha = disabled_alpha,
|
Alpha = disabled_alpha,
|
||||||
@ -172,26 +192,6 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
OnCommit = (sender, text) => apply()
|
OnCommit = (sender, text) => apply()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
new Section("Duration")
|
|
||||||
{
|
|
||||||
Child = DurationField = new DurationDropdown
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
Items = new[]
|
|
||||||
{
|
|
||||||
TimeSpan.FromMinutes(30),
|
|
||||||
TimeSpan.FromHours(1),
|
|
||||||
TimeSpan.FromHours(2),
|
|
||||||
TimeSpan.FromHours(4),
|
|
||||||
TimeSpan.FromHours(8),
|
|
||||||
TimeSpan.FromHours(12),
|
|
||||||
//TimeSpan.FromHours(16),
|
|
||||||
TimeSpan.FromHours(24),
|
|
||||||
TimeSpan.FromDays(3),
|
|
||||||
TimeSpan.FromDays(7)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
new Section("Password (optional)")
|
new Section("Password (optional)")
|
||||||
{
|
{
|
||||||
Alpha = disabled_alpha,
|
Alpha = disabled_alpha,
|
||||||
|
Reference in New Issue
Block a user