mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 15:04:26 +08:00
More explicitly define arithmatic precedence
This commit is contained in:
@@ -157,7 +157,7 @@ namespace osu.Game.Screens.Edit.Submission
|
||||
return;
|
||||
|
||||
sampleChannel.Frequency.Value = 0.5f + (width * 1.5f);
|
||||
sampleChannel.Volume.Value = 0.25f + (width / 2f) * .75f;
|
||||
sampleChannel.Volume.Value = 0.25f + ((width / 2f) * .75f);
|
||||
sampleChannel.Play();
|
||||
|
||||
lastSamplePlayback = Time.Current;
|
||||
|
||||
Reference in New Issue
Block a user