mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 20:35:39 +08:00
Fix TimingSection performing a beatmap save when switching bound timing points
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user