mirror of
https://github.com/ppy/osu.git
synced 2026-06-01 12:30:30 +08:00
Update in-line with framework
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user