Add missing UpdateHitObject calls and move local to usages (not via bindables)

This commit is contained in:
Dean Herbert
2020-10-08 16:56:55 +09:00
parent 5d55f00139
commit ef092de9ba
3 changed files with 22 additions and 28 deletions

View File

@ -436,8 +436,12 @@ namespace osu.Game.Screens.Edit.Compose.Components
{
// Apply the start time at the newly snapped-to position
double offset = result.Time.Value - draggedObject.StartTime;
foreach (HitObject obj in SelectionHandler.SelectedHitObjects)
{
obj.StartTime += offset;
Beatmap.UpdateHitObject(obj);
}
}
return true;