mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 11:23:23 +08:00
Merge pull request #26281 from iminlikewithyou/fix-precision
Fix beats being counted incorrectly in the timing editor
This commit is contained in:
commit
5b8e9a5bd8
@ -224,7 +224,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
row.Alpha = time < selectedGroupStartTime || time > selectedGroupEndTime ? 0.2f : 1;
|
row.Alpha = time < selectedGroupStartTime || time > selectedGroupEndTime ? 0.2f : 1;
|
||||||
row.WaveformOffsetTo(-offset, animated);
|
row.WaveformOffsetTo(-offset, animated);
|
||||||
row.WaveformScale = new Vector2(scale, 1);
|
row.WaveformScale = new Vector2(scale, 1);
|
||||||
row.BeatIndex = (int)Math.Floor(index);
|
row.BeatIndex = (int)Math.Round(index);
|
||||||
|
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user