1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

change floor to round

This commit is contained in:
iminlikewithyou 2023-12-30 23:59:47 -06:00
parent 8a40fa51f0
commit 5ae5d7f92d

View File

@ -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++;
}