mirror of https://github.com/ppy/osu
Use current date as default value for tournament date text box
This commit is contained in:
parent
5e059a362f
commit
84102cd51e
|
@ -10,7 +10,7 @@ namespace osu.Game.Tournament.Components
|
|||
{
|
||||
public partial class DateTextBox : SettingsTextBox
|
||||
{
|
||||
private readonly BindableWithCurrent<DateTimeOffset> current = new BindableWithCurrent<DateTimeOffset>();
|
||||
private readonly BindableWithCurrent<DateTimeOffset> current = new BindableWithCurrent<DateTimeOffset>(DateTimeOffset.Now);
|
||||
|
||||
public new Bindable<DateTimeOffset>? Current
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue