Merge pull request #10984 from peppy/fix-editor-unnecessary-object-updates

Avoid updating hitobjects unnecessarily for start time changes
This commit is contained in:
Bartłomiej Dach
2020-11-29 22:06:26 +01:00
committed by GitHub

View File

@ -496,10 +496,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
double offset = result.Time.Value - movementBlueprints.First().HitObject.StartTime;
foreach (HitObject obj in Beatmap.SelectedHitObjects)
{
obj.StartTime += offset;
Beatmap.Update(obj);
}
}
return true;