mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Add reverse binding for max attempts (currently unused but good for safety)
This commit is contained in:
parent
3fe190cfbe
commit
9d7164816c
@ -280,6 +280,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
RoomName.BindValueChanged(name => NameField.Text = name.NewValue, true);
|
||||
Availability.BindValueChanged(availability => AvailabilityPicker.Current.Value = availability.NewValue, true);
|
||||
MaxParticipants.BindValueChanged(count => MaxParticipantsField.Text = count.NewValue?.ToString(), true);
|
||||
MaxAttempts.BindValueChanged(count => MaxAttemptsField.Text = count.NewValue?.ToString(), true);
|
||||
Duration.BindValueChanged(duration => DurationField.Current.Value = duration.NewValue ?? TimeSpan.FromMinutes(30), true);
|
||||
|
||||
playlist.Items.BindTo(Playlist);
|
||||
|
Loading…
Reference in New Issue
Block a user