mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Update in-line with framework
This commit is contained in:
parent
01c839eda7
commit
80e984f72d
@ -92,7 +92,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose
|
||||
n.Texture = texture;
|
||||
n.Size = DrawSize;
|
||||
n.Shared = sharedData;
|
||||
n.Points = waveform.Generate((int)(MathHelper.Clamp(Math.Ceiling(DrawWidth), 0, waveform.TotalPoints) * resolution));
|
||||
n.Points = waveform.Generate((int)(MathHelper.Clamp(Math.Ceiling(DrawWidth), 0, waveform.MaximumPoints) * resolution));
|
||||
n.Channels = waveform.Channels;
|
||||
|
||||
base.ApplyDrawNode(node);
|
||||
|
Loading…
Reference in New Issue
Block a user