Add inline commentary in `Mod{Day,Night}core` about different speed adjustments

This commit is contained in:
Bartłomiej Dach 2023-10-18 12:27:16 +02:00
parent 9907adc337
commit cff69d63a6
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;