mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
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 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
{
|
{
|
||||||
rateAdjustHelper = new RateAdjustModHelper(SpeedChange);
|
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 =>
|
SpeedChange.BindValueChanged(val =>
|
||||||
{
|
{
|
||||||
freqAdjust.Value = SpeedChange.Default;
|
freqAdjust.Value = SpeedChange.Default;
|
||||||
|
@ -45,6 +45,8 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
{
|
{
|
||||||
rateAdjustHelper = new RateAdjustModHelper(SpeedChange);
|
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 =>
|
SpeedChange.BindValueChanged(val =>
|
||||||
{
|
{
|
||||||
freqAdjust.Value = SpeedChange.Default;
|
freqAdjust.Value = SpeedChange.Default;
|
||||||
|
Loading…
Reference in New Issue
Block a user