Fix changing preview point not prompting for save

This commit is contained in:
Bartłomiej Dach 2023-01-01 19:54:26 +01:00
parent efdd557f3b
commit b689ad6d80
No known key found for this signature in database

View File

@ -111,7 +111,12 @@ namespace osu.Game.Screens.Edit
trackStartTime(obj);
PreviewTime = new BindableInt(playableBeatmap.Metadata.PreviewTime);
PreviewTime.BindValueChanged(s => this.beatmapInfo.Metadata.PreviewTime = s.NewValue);
PreviewTime.BindValueChanged(s =>
{
BeginChange();
this.beatmapInfo.Metadata.PreviewTime = s.NewValue;
EndChange();
});
}
/// <summary>