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:
parent
8a40fa51f0
commit
5ae5d7f92d
@ -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