mirror of https://github.com/ppy/osu
Add inline commentary in `Mod{Day,Night}core` about different speed adjustments
This commit is contained in:
parent
9907adc337
commit
cff69d63a6
|
@ -33,6 +33,8 @@ protected ModDaycore()
|
|||
{
|
||||
rateAdjustHelper = new RateAdjustModHelper(SpeedChange);
|
||||
|
||||
// intentionally not deferring the speed change handling to `RateAdjustModHelper`
|
||||
// as the expected result of operation is not the same (daycore should preserve constant pitch).
|
||||
SpeedChange.BindValueChanged(val =>
|
||||
{
|
||||
freqAdjust.Value = SpeedChange.Default;
|
||||
|
|
|
@ -45,6 +45,8 @@ protected ModNightcore()
|
|||
{
|
||||
rateAdjustHelper = new RateAdjustModHelper(SpeedChange);
|
||||
|
||||
// intentionally not deferring the speed change handling to `RateAdjustModHelper`
|
||||
// as the expected result of operation is not the same (nightcore should preserve constant pitch).
|
||||
SpeedChange.BindValueChanged(val =>
|
||||
{
|
||||
freqAdjust.Value = SpeedChange.Default;
|
||||
|
|
Loading…
Reference in New Issue