Ensure EditorBeatmap.Update is called inside PerformOnSelection calls

This commit is contained in:
Dean Herbert
2021-05-23 21:19:38 +09:00
parent dc322d1c63
commit 4c9d72e62a
4 changed files with 23 additions and 4 deletions

View File

@ -77,7 +77,13 @@ namespace osu.Game.Screens.Edit.Compose.Components
double offset = result.Time.Value - blueprints.First().Item.StartTime;
if (offset != 0)
Beatmap.PerformOnSelection(obj => obj.StartTime += offset);
{
Beatmap.PerformOnSelection(obj =>
{
obj.StartTime += offset;
Beatmap.Update(obj);
});
}
}
return true;