1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Fix TimingSection performing a beatmap save when switching bound timing points

This commit is contained in:
Dean Herbert 2022-05-31 14:58:49 +09:00
parent 0141958be6
commit 27efeb7d4e

View File

@ -32,9 +32,11 @@ namespace osu.Game.Screens.Edit.Timing
{
if (point.NewValue != null)
{
bpmTextEntry.Current.UnbindEvents();
bpmTextEntry.Bindable = point.NewValue.BeatLengthBindable;
bpmTextEntry.Current.BindValueChanged(_ => ChangeHandler?.SaveState());
timeSignature.Current.UnbindEvents();
timeSignature.Current = point.NewValue.TimeSignatureBindable;
timeSignature.Current.BindValueChanged(_ => ChangeHandler?.SaveState());
}