1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-16 13:32:54 +08:00

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
commit 3e5a6981b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;