mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Temporarily fix crash on deleting control point groups
This commit is contained in:
@ -85,12 +85,13 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
textBox.Text = string.Empty;
|
textBox.Text = string.Empty;
|
||||||
|
|
||||||
textBox.Current.Disabled = true;
|
// cannot use textBox.Current.Disabled due to https://github.com/ppy/osu-framework/issues/3919
|
||||||
|
textBox.ReadOnly = true;
|
||||||
button.Enabled.Value = false;
|
button.Enabled.Value = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
textBox.Current.Disabled = false;
|
textBox.ReadOnly = false;
|
||||||
button.Enabled.Value = true;
|
button.Enabled.Value = true;
|
||||||
|
|
||||||
textBox.Text = $"{group.NewValue.Time:n0}";
|
textBox.Text = $"{group.NewValue.Time:n0}";
|
||||||
|
Reference in New Issue
Block a user