mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Reduce precision of audio balance adjustments during slider sliding
This commit is contained in:
parent
5b55ca6692
commit
e9289cfbe7
@ -599,7 +599,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
float balanceAdjustAmount = positionalHitsoundsLevel.Value * 2;
|
||||
double returnedValue = balanceAdjustAmount * (position - 0.5f);
|
||||
|
||||
return returnedValue;
|
||||
// Rounded to reduce the overhead of audio adjustments (which are currently bindable heavy).
|
||||
// Balance is very hard to perceive in small increments anyways.
|
||||
return Math.Round(returnedValue, 2);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user