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