mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Ignore movement operations which have no offset
This commit is contained in:
parent
d2ee5fcd85
commit
1884c18a2c
@ -519,7 +519,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
// Apply the start time at the newly snapped-to position
|
||||
double offset = result.Time.Value - movementBlueprints.First().HitObject.StartTime;
|
||||
|
||||
Beatmap.PerformOnSelection(obj => obj.StartTime += offset);
|
||||
if (offset != 0)
|
||||
Beatmap.PerformOnSelection(obj => obj.StartTime += offset);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user