mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 18:23:21 +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.WaveformOffsetTo(-offset, animated);
|
||||
row.WaveformScale = new Vector2(scale, 1);
|
||||
row.BeatIndex = (int)Math.Floor(index);
|
||||
row.BeatIndex = (int)Math.Round(index);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user