1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 22:22:54 +08:00

Rebind SaveState() to bpmTextEntry

This commit is contained in:
CenTdemeern1 2022-03-31 21:06:05 +02:00
parent 52d723aaa6
commit a6875383fc

View File

@ -34,7 +34,7 @@ namespace osu.Game.Screens.Edit.Timing
if (point.NewValue != null)
{
bpmTextEntry.Bindable = point.NewValue.BeatLengthBindable;
// no need to hook change handler here as it's the same bindable as above
bpmTextEntry.Current.BindValueChanged(_ => ChangeHandler?.SaveState());
timeSignature.Current = point.NewValue.TimeSignatureBindable;
timeSignature.Current.BindValueChanged(_ => ChangeHandler?.SaveState());