1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:23:22 +08:00

Use current date as default value for tournament date text box

This commit is contained in:
Salman Ahmed 2023-10-26 10:46:04 +03:00
parent 5e059a362f
commit 84102cd51e

View File

@ -10,7 +10,7 @@ namespace osu.Game.Tournament.Components
{ {
public partial class DateTextBox : SettingsTextBox 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 public new Bindable<DateTimeOffset>? Current
{ {