mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Fix naming rule
This commit is contained in:
parent
6a8bc067cd
commit
9516bec13d
@ -21,12 +21,12 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
private const double fade_in_duration_multiplier = 0.4;
|
private const double fade_in_duration_multiplier = 0.4;
|
||||||
private const double fade_out_duration_multiplier = 0.3;
|
private const double fade_out_duration_multiplier = 0.3;
|
||||||
private bool IncreaseFirstObjectVisibility = true;
|
private bool increaseFirstObjectVisibility = true;
|
||||||
private IEnumerable<DrawableHitObject> drawables;
|
private IEnumerable<DrawableHitObject> drawables;
|
||||||
|
|
||||||
private void applyMod()
|
private void applyMod()
|
||||||
{
|
{
|
||||||
if (IncreaseFirstObjectVisibility)
|
if (increaseFirstObjectVisibility)
|
||||||
{
|
{
|
||||||
foreach (var d in drawables.OfType<DrawableOsuHitObject>())
|
foreach (var d in drawables.OfType<DrawableOsuHitObject>())
|
||||||
{
|
{
|
||||||
@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
public void ApplyToConfig(OsuConfigManager config)
|
public void ApplyToConfig(OsuConfigManager config)
|
||||||
{
|
{
|
||||||
IncreaseFirstObjectVisibility = config.GetBindable<bool>(OsuSetting.IncreaseFirstObjectVisibility);
|
increaseFirstObjectVisibility = config.GetBindable<bool>(OsuSetting.IncreaseFirstObjectVisibility);
|
||||||
//This starts the process of applying the mod effects. We start it here since this is the last void called.
|
//This starts the process of applying the mod effects. We start it here since this is the last void called.
|
||||||
applyMod();
|
applyMod();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user