1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 10:50:11 +08:00

Merge branch 'equivalent-to' into control-point-grouping

This commit is contained in:
Dean Herbert
2019-10-25 23:15:15 +09:00
Unverified
2 changed files with 2 additions and 2 deletions
@@ -46,6 +46,6 @@ namespace osu.Game.Beatmaps.ControlPoints
public override bool EquivalentTo(ControlPoint other) =>
other is SampleControlPoint otherTyped &&
string.Equals(SampleBank, otherTyped?.SampleBank) && SampleVolume == otherTyped?.SampleVolume;
string.Equals(SampleBank, otherTyped.SampleBank) && SampleVolume == otherTyped.SampleVolume;
}
}
@@ -28,6 +28,6 @@ namespace osu.Game.Beatmaps.ControlPoints
public override bool EquivalentTo(ControlPoint other) =>
other is TimingControlPoint otherTyped
&& TimeSignature == otherTyped?.TimeSignature && beatLength.Equals(otherTyped.beatLength);
&& TimeSignature == otherTyped.TimeSignature && beatLength.Equals(otherTyped.beatLength);
}
}