mirror of
https://github.com/ppy/osu
synced 2025-01-08 23:29:43 +00: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.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