mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Refactor for readability
This commit is contained in:
parent
7e5ecd84bc
commit
3e6af7ce43
@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(ISkinSource source, DrawableHitObject drawableObject)
|
private void load(ISkinSource source, DrawableHitObject drawableObject)
|
||||||
{
|
{
|
||||||
spinnerBlink = !(source.GetConfig<OsuSkinConfiguration, bool>(OsuSkinConfiguration.SpinnerNoBlink)?.Value) ?? true;
|
spinnerBlink = source.GetConfig<OsuSkinConfiguration, bool>(OsuSkinConfiguration.SpinnerNoBlink)?.Value != true;
|
||||||
|
|
||||||
drawableSpinner = (DrawableSpinner)drawableObject;
|
drawableSpinner = (DrawableSpinner)drawableObject;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user