share CurvePointIter between features again

This commit is contained in:
MaxOhn
2021-01-26 18:53:26 +01:00
parent 07bf677982
commit 54a056e36a
2 changed files with 7 additions and 29 deletions
@@ -29,7 +29,7 @@ impl<'p> SliderState<'p> {
self.px_per_beat = map.sv * 100.0 * self.prev_sv;
match self.control_points.next() {
Some(ControlPoint::Timing { time }) => {
Some(ControlPoint::Timing { time, .. }) => {
self.next_time = time;
self.prev_sv = 1.0;
}