mirror of https://github.com/ppy/osu
Fix constant casing
This commit is contained in:
parent
390e872730
commit
5f35b3ebb9
|
@ -85,8 +85,8 @@ protected override void LoadComplete()
|
|||
}
|
||||
|
||||
private SkinnableSound spinningSample;
|
||||
private const float SPINNING_SAMPLE_INITIAL_FREQUENCY = 1.0f;
|
||||
private const float SPINNING_SAMPLE_MODULATED_BASE_FREQUENCY = 0.5f;
|
||||
private const float spinning_sample_initial_frequency = 1.0f;
|
||||
private const float spinning_sample_modulated_base_frequency = 0.5f;
|
||||
|
||||
protected override void LoadSamples()
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ protected override void LoadSamples()
|
|||
{
|
||||
Volume = { Value = 0 },
|
||||
Looping = true,
|
||||
Frequency = { Value = SPINNING_SAMPLE_INITIAL_FREQUENCY }
|
||||
Frequency = { Value = spinning_sample_initial_frequency }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ protected override void Update()
|
|||
RotationTracker.Tracking = !Result.HasResult && (OsuActionInputManager?.PressedActions.Any(x => x == OsuAction.LeftButton || x == OsuAction.RightButton) ?? false);
|
||||
|
||||
if (spinningSample != null && spinnerFrequencyModulate)
|
||||
spinningSample.Frequency.Value = SPINNING_SAMPLE_MODULATED_BASE_FREQUENCY + Progress;
|
||||
spinningSample.Frequency.Value = spinning_sample_modulated_base_frequency + Progress;
|
||||
}
|
||||
|
||||
protected override void UpdateAfterChildren()
|
||||
|
|
Loading…
Reference in New Issue