1
0
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:
Jamie Taylor
2025-04-18 20:42:49 +09:00
Unverified
parent 5208d8a0b2
commit e5940a41b9
@@ -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;