Merge pull request #18668 from smoogipoo/editor-controlpoint-undo-redo

This commit is contained in:
Dean Herbert
2022-06-23 04:02:24 +09:00
committed by GitHub
22 changed files with 266 additions and 109 deletions

View File

@ -127,7 +127,7 @@ namespace osu.Game.Graphics.Containers
TimeSinceLastBeat = beatLength - TimeUntilNextBeat;
if (timingPoint == lastTimingPoint && beatIndex == lastBeat)
if (ReferenceEquals(timingPoint, lastTimingPoint) && beatIndex == lastBeat)
return;
// as this event is sometimes used for sound triggers where `BeginDelayedSequence` has no effect, avoid firing it if too far away from the beat.